The Macaw logo, a scarlet macaw in flight

macaw_base

This software is a very early release, and not ready for general use.

Public home: github.com/dcoai/macaw_base · Docs: hexdocs.pm

What every Macaw package shares, with no dependency of its own (spec/00). It is the root of the Macaw family's packages (dco-tek/macaw/macaw#478).

Module What it is
Macaw.Base.Names names a value declares: strings, never atoms made from data (spec/01 §1)
Macaw.Base.Vocabulary closed vocabularies looked up by spelling (spec/01 §2)
Macaw.Base.Fault the fault {path, reason}, its order, the one formatter and the general words; each package words its own reasons (spec/01 §3)
Macaw.Base.Version one version line per type, and stepwise migration (spec/01 §4)
Macaw.Base.Encoding, Macaw.Base.Digest the canonical encoding and digest of a value, the term itself, and a struct's canonical term (spec/01 §5)
Macaw.Base.Callback optional callbacks, found whether or not their module is loaded (spec/01 §6)

Installation

No runtime dependencies. From Hex:

{:macaw_base, "~> 0.1.1"}

Part of Macaw.

License

MIT; see the LICENSE file.