-
-
Save coodoo/fb134569c4414c6a96a23ed04d0a4748 to your computer and use it in GitHub Desktop.
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
big :: Int | |
big = | |
-- (\x -> x - 1) -- 可以 | |
(-1) -- 不行 | |
$ length | |
$ takeWhile (< 10) | |
$ scanl (\acc x -> sqrt x + acc) 0 [1..] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment