4 pointsby ibobev2 hours ago2 comments
  • trompan hour ago
    > import Control.Monad (guard)

    > "fizz" <$ guard (rem i 3 == 0)

    I prefer the more transparent

        if i `mod` 3 == 0 then Just "fizz" else Nothing
  • hieu_dev2 hours ago
    [dead]