day11: minor show instance update

This commit is contained in:
Gattix 2022-12-11 19:03:28 +01:00
parent 2721636c9e
commit 0d644e8fc0

View File

@ -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 ()