Prelude Reference
The eucalypt prelude is a standard library of functions, operators, and constants that is automatically loaded before your code runs. You can suppress the prelude with -Q if needed, though this leaves a very bare environment (even true, false, and if are defined in the prelude).
Categories
- Lists -- list construction, transformation, folding, sorting (91 entries)
- Blocks -- block construction, access, merging, transformation (65 entries)
- Strings -- string manipulation, regex, formatting (36 entries)
- Numbers and Arithmetic -- numeric operations and predicates (30 entries)
- Booleans and Comparison -- boolean logic and comparison operators (12 entries)
- Combinators -- function composition, application, utilities (14 entries)
- Calendar -- date and time functions (8 entries)
- Sets -- set operations (14 entries)
- Random Numbers -- random number generation, monadic random: namespace (15 entries)
- Metadata -- metadata and assertion functions (4 entries)
- IO -- environment, time, argument access, and monad utility (37 entries)
326 documented entries in total.