Created
May 22, 2015 00:15
-
-
Save DanBrink91/61a1e274d4620a5fd251 to your computer and use it in GitHub Desktop.
length function in haskell, in a terrible way :)
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
let len a = sum (map (\x -> 1) a) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment