License | MIT |
---|---|
Maintainer | @tylerjl |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Y2015.D07
Description
Solutions to the day 07 set of problems for adventofcode.com.
Synopsis
- wire :: String -> [Instruction] -> Word16
- circuitParser :: Parser [Instruction]
- parseCircuits :: String -> [Instruction]
- override :: Word16 -> Instruction
Documentation
Arguments
:: String | Wire to find voltage on |
-> [Instruction] | List of instructions |
-> Word16 | Resulting voltage on indicated wire |
Constructs then returns resulting voltage from wiring spec
Arguments
:: String | Input string |
-> [Instruction] | Either parse error or |
Helper function to parse Instruction
s