Skip to content

Instantly share code, notes, and snippets.

@debasishg
Last active December 16, 2015 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save debasishg/5416337 to your computer and use it in GitHub Desktop.
Save debasishg/5416337 to your computer and use it in GitHub Desktop.
mapReduce :: (k1 -> v1 -> [(k2, v2)]) -- The Map function
-> (k2 -> [v2] -> [v2]) -- The Reduce function
-> [(k1, v1)] -- a set of input key/value pairs
-> [(k2, v2)] -- a set of output key/value pairs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment