aoc2017-0.1.0.0: Advent of Code 2017 - my answers
Day25
Description
Synopsis
data State Source #
The state of the the Turing machine.
Constructors
data Program state value Source #
The setup for a run of a Turing machine.
Fields
Initial state of the Turing machine.
Number of cycles to run the Turing machine.
State transitions.
parseProgram :: (Ix state, Read state, Ix value, Num value, Read value) => ReadP (Program state value) Source #
Parses a description to a Program.
Program
day25 :: String -> IO Int Source #