Skip to content

Instantly share code, notes, and snippets.

@shigemk2
Created April 1, 2015 12:28
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save shigemk2/6e92d1bb389be7abf10f to your computer and use it in GitHub Desktop.
main = do
print $ fmap (++ " HEY GUYS IM INSIDE THE JUST") (Just "Something serious.")
print $ fmap (++ " HEY GUYS IM INSIDE THE JUST") Nothing
print $ fmap (*2) (Just 200)
print $ fmap (*2) Nothing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment