Bounded package:LambdaHack
The
Bounded class is used to name the upper and lower limits of
a type.
Ord is not a superclass of
Bounded since types
that are not totally ordered may also have upper and lower bounds.
The
Bounded class may be derived for any enumeration type;
minBound is the first constructor listed in the
data
declaration and
maxBound is the last.
Bounded may also
be derived for single-constructor datatypes whose constituent types
are in
Bounded.
Translate a point by a vector, but only if the result fits in an area.
A list of points that a list of vectors leads to, bounded by level
size.
All (8 at most) closest neighbours of a point within an area.