Skip to content

Instantly share code, notes, and snippets.

@shriphani
Created February 2, 2012 22:46
Show Gist options
  • Save shriphani/1726272 to your computer and use it in GitHub Desktop.
Save shriphani/1726272 to your computer and use it in GitHub Desktop.
One-Liners in Haskell that merit the "Code Porn" label
-- list of numbers of form 2k
twoK = 1:(map (2*) twoK)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment