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 (64 entries)
  • Blocks -- block construction, access, merging, transformation (52 entries)
  • Strings -- string manipulation, regex, formatting (26 entries)
  • Numbers and Arithmetic -- numeric operations and predicates (14 entries)
  • Booleans and Comparison -- boolean logic and comparison operators (13 entries)
  • Combinators -- function composition, application, utilities (12 entries)
  • Calendar -- date and time functions (5 entries)
  • Sets -- set operations (11 entries)
  • Random Numbers -- random number generation, monadic random: namespace (20 entries)
  • Metadata -- metadata and assertion functions (7 entries)
  • IO -- environment, time, argument access, and monad utility (16 entries)

240 documented entries in total.