Main
Description
https://adventofcode.com/2016/day/23
data Inst Source #
Constructors
Defined in Main
Methods
showsPrec :: Int -> Inst -> ShowS #
show :: Inst -> String #
showList :: [Inst] -> ShowS #
data Machine Source #
Fields
reg :: Functor f => Register -> LensLike' f Machine Int #
machProgram :: Lens' Machine (Vector Inst) Source #
machRegisters :: Lens' Machine Registers Source #
main :: IO () Source #
>>> :main 13050 479009610
>>>
:main
pInst :: P Inst Source #
execute :: Vector Inst -> Int -> Int Source #