Skip to content

Instantly share code, notes, and snippets.

@zeedunk
Created April 23, 2012 04:20
Show Gist options
  • Save zeedunk/2468844 to your computer and use it in GitHub Desktop.
Save zeedunk/2468844 to your computer and use it in GitHub Desktop.
foldl
foldl f z [] = z
foldl f z (x:xs) = foldl f (f z x) xs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment