Skip to content

Instantly share code, notes, and snippets.

@profnandaa
Created October 1, 2017 16:57
Show Gist options
  • Save profnandaa/5a634f93a7ed1145d5b77945eadf68d9 to your computer and use it in GitHub Desktop.
Save profnandaa/5a634f93a7ed1145d5b77945eadf68d9 to your computer and use it in GitHub Desktop.
Pearls from Haskell code snipets
s = [x*2 | x <- [1..10]]
-- s = [2,4,6,8,10,12,14,16,18,20]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment