day11: minor show instance update
This commit is contained in:
parent
2721636c9e
commit
0d644e8fc0
|
@ -27,10 +27,11 @@ instance Show Monkey where
|
|||
show (c 1) ++
|
||||
", 2 -> " ++
|
||||
show (c 2) ++
|
||||
"\n Test: <<function>>" ++
|
||||
"\n Test: divisible by " ++
|
||||
show d ++
|
||||
"\n If true: throw to monkey " ++
|
||||
show e ++
|
||||
"\n If false: throw to monkey " ++
|
||||
"\n If false: throw to monkey " ++
|
||||
show f ++ "\nThis monkey has inspected " ++ show g ++ " items.\n"
|
||||
|
||||
main :: IO ()
|
||||
|
|
Loading…
Reference in New Issue
Block a user