Skip to content

Instantly share code, notes, and snippets.

mjeff7

Block or report user

Report or block mjeff7

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mjeff7
mjeff7 / Main.hs
Created Mar 23, 2018
fizzbuzz in Haskell
View Main.hs
module Main where
import Data.Monoid ((<>))
import Data.Maybe (fromMaybe)
import Control.Applicative (liftA2)
main :: IO ()
main = print $ take 100 $ fizzBuzzIntString <$> [1..]
fizzBuzzIntString :: Int -> String
You can’t perform that action at this time.