small change
This commit is contained in:
parent
e16a069d09
commit
c2493dcc4d
|
@ -4,14 +4,9 @@ sort
|
||||||
CardinalDirection = struct north | east | south | west;
|
CardinalDirection = struct north | east | south | west;
|
||||||
|
|
||||||
map
|
map
|
||||||
oppositeDirection: CardinalDirection -> CardinalDirection;
|
|
||||||
nextDirection: CardinalDirection -> CardinalDirection;
|
nextDirection: CardinalDirection -> CardinalDirection;
|
||||||
|
|
||||||
eqn
|
eqn
|
||||||
oppositeDirection(north) = south;
|
|
||||||
oppositeDirection(south) = north;
|
|
||||||
oppositeDirection(east) = west;
|
|
||||||
oppositeDirection(west) = east;
|
|
||||||
|
|
||||||
nextDirection(north) = east;
|
nextDirection(north) = east;
|
||||||
nextDirection(east) = south;
|
nextDirection(east) = south;
|
||||||
|
|
Loading…
Reference in New Issue