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