Prelude
v11.3.15 • Henk Core Definitions
Core types and functions automatically imported in every module.
Types
No types defined in this module.
Foreigns
No foreign functions defined in this module.
Functions
id :: A -> A
The identity function.
Implementationid x = x
const :: A -> B -> A
The constant function.
Implementationconst x y = x
flip :: (A -> B -> C) -> B -> A -> C
Flips the arguments of a binary function.
Implementationflip f x y = f y x
compose :: (B -> C) -> (A -> B) -> A -> C
Function composition: (f ∘ g) x = f (g x).
compose f g x = f (g x)