Instantly share code, notes, and snippets.
I like to call foldr as "fold from the right", while foldl is "fold from the left".
foldr
foldl