The Zen of Idris - tdidriksen/Idris-dev GitHub Wiki
Guidelines for writing programs in Idris.
- Written not assuming Laziness
Naming Conventions
- In general, names should be in Camel Case.
- Type constructors and data constructors should be in Upper Camel Case, e.g.
PairandMkPair. - Functions should be in Lower Camel Case, e.g.
isHexDigit. - Effects should be in Upper Case, e.g.
STDIO. - Private or special functions may be in Snake Case, e.g.
maybe_bind,believe_meandassert_total. - Metavariables should end in Snake Case, e.g.
?myAppend_rhs