Skip to content

Instantly share code, notes, and snippets.

@shimada-shunsuke
Created March 3, 2014 14:27
Show Gist options
  • Save shimada-shunsuke/9326033 to your computer and use it in GitHub Desktop.
Save shimada-shunsuke/9326033 to your computer and use it in GitHub Desktop.
CodeIQ 「コード美人」 https://codeiq.jp/magazine/2014/03/6633/ の回答
list = 1 : [x * 3 + y | x <- list, y <- [0,1]]
main = mapM_ print $ take 100 list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment