Skip to content

Instantly share code, notes, and snippets.

@StachuDotNet
StachuDotNet / gist:b291a049df0f3761f4bc
Last active August 29, 2015 14:23
Wanted to make sure I can consistently do my 5x5 workout in under an hour. Of course F# is needed for the task!
type event = { text : string; minutes: double }
type exercise = {
text : string
setNum : int
setupTime : double
setTime : double
restTime : double
}
module CubeSolver
// Represent the state of a Rubik's Cube
type CubeState =
{ EdgePositions : int array
EdgeFlips : int array
CornerPositions : int array
CornerTwists : int array }