Created
March 3, 2014 14:27
-
-
Save shimada-shunsuke/9326033 to your computer and use it in GitHub Desktop.
CodeIQ 「コード美人」 https://codeiq.jp/magazine/2014/03/6633/ の回答
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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