emilgoldsmith/elm-speedcubing/3.0.0

NOTE: the latest version is 14.1.0

Algorithm

Documentation to come

Placeholder

Placeholder

= Clockwise
| CounterClockwise

Placeholder

= OneQuarter
| Halfway
| ThreeQuarters

Placeholder

= U
| D
| L
| R
| F
| B
| M
| S
| E
| X
| Y
| Z

Placeholder

All possible turn directions

List.length allTurnDirections --> 2

All possible turn lengths

List.length allTurnLengths --> 3

All possible turnables

List.length allTurnables --> 12
allTurns : List Turn

All possible combinations of turnables, lengths and directions

List.length allTurns
--> List.length allTurnables * List.length allTurnLengths * List.length allTurnDirections

We append the first argument, so b ++ a

We append to the first argument, so a ++ b

build : List Turn -> Algorithm

Placeholder

Placeholder

Placeholder

fromString : String -> Result String Algorithm

Placeholder

Placeholder

toString : Algorithm -> String

Placeholder