diagrams-rubiks-cube-0.2.0.1: Library for drawing the Rubik's Cube.
Diagrams.RubiksCube.Move
Synopsis
data Move Source #
A move in standard notation.
Constructors
Instances
Methods
(==) :: Move -> Move -> Bool #
(/=) :: Move -> Move -> Bool #
readsPrec :: Int -> ReadS Move #
readList :: ReadS [Move] #
readPrec :: ReadPrec Move #
readListPrec :: ReadPrec [Move] #
showsPrec :: Int -> Move -> ShowS #
show :: Move -> String #
showList :: [Move] -> ShowS #
mirror :: Move -> Move Source #
Swaps left and right.
invert :: Move -> Move Source #
The opposite move.