bounded library

Classes

Bounded<A>
Defines a bounded type A which extends the Ord type.

Functions

clamp<A>(Bounded<A> bounded) → A Function(A)
Returns a function that clamps a value of type A within its bounds.
reverse<A>(Bounded<A> bounded) Bounded<A>
Returns a Bounded<A> with its bounds reversed.