Skip to content

Instantly share code, notes, and snippets.

@DanBrink91
Created May 22, 2015 00:15
Show Gist options
  • Save DanBrink91/61a1e274d4620a5fd251 to your computer and use it in GitHub Desktop.
Save DanBrink91/61a1e274d4620a5fd251 to your computer and use it in GitHub Desktop.
length function in haskell, in a terrible way :)
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