McNuggets problem: Difference between revisions
m
→{{header|Haskell}}: slightly less duplication
m (→{{header|Haskell}}: slightly less duplication) |
|||
Line 320:
mcNuggets :: Set Int
mcNuggets =
in fromList $
▲ [0 .. quot 100 6] >>=
[0 .. qc 6] >>=
| 101 > v ]
main :: IO ()
|