MODULE REFERENCE
Prelude
Primitive types and the common vocabulary shared by the standard libraries.
SYNOPSIS
Types and classes
data NatAn unbounded natural number. Arithmetic on Nat does not overflow.
data BoolA truth value.
opaque IntAn unbounded signed integer.
opaque StringAn immutable string of Unicode text.
opaque Ref region aA reference that borrows a value for the lifetime of region.
data UnitThe type with a single value, ().
opaque BytesAn immutable sequence of bytes.
effect Io regionAn effect for interaction with an external environment.
signature Ord aA total ordering on values of a type.
Functions and values
id :: forall a. a -> aReturn the supplied value unchanged.
EXAMPLE
id 42
-- 42const :: forall a b. a -> b -> aReturn the first argument and ignore the second.
