API Reference macaw_format v#0.1.0

Copy Markdown View Source

Modules

How a value is written for a person (spec/01): a format is data, read once from the text it is written in and applied to any number of values.

The symbols people type and hosts have stored, each read as the UCUM code it means (spec/02 §1, D-155), or refused naming the codes it could mean.

What every ! twin raises (spec/00 §3): its value twin's {:error, reason}, with the reason's term kept and its words for the message.

How a locale writes numbers (spec/01 §3): a d3-format locale definition, as data.

A field's default format (spec/01 §6): how a measure's values are written with no format given, built by Macaw.Format.for_measure/2 and written by Macaw.Format.measure/2.

How a quantity is shown (spec/02 §2–§5): its display families by unit system, the unit systems a viewer may prefer, and the label a title gives a measure.

A time's format (spec/01 §5): a strftime pattern read once into data, written by Macaw.Format.time/2.