sln_2016_10
Copyright(c) Eric Mertens 2021
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellNone
LanguageHaskell2010

Main

Description

Synopsis

Documentation

data T Source #

Constructors

Tbot 
Toutput 

Instances

Instances details
Show T Source # 
Instance details

Defined in Main

Methods

showsPrec :: Int -> T -> ShowS #

show :: T -> String #

showList :: [T] -> ShowS #

main :: IO () Source #

>>> :main
147
55637

data Instr Source #

Constructors

Value !Int !Target 
Gives !Int !Target !Target 

Instances

Instances details
Show Instr Source # 
Instance details

Defined in Main

Methods

showsPrec :: Int -> Instr -> ShowS #

show :: Instr -> String #

showList :: [Instr] -> ShowS #

data Target Source #

Constructors

Bot !Int 
Output !Int 

Instances

Instances details
Show Target Source # 
Instance details

Defined in Main

Eq Target Source # 
Instance details

Defined in Main

Methods

(==) :: Target -> Target -> Bool #

(/=) :: Target -> Target -> Bool #

Ord Target Source # 
Instance details

Defined in Main