Skip to content

Instantly share code, notes, and snippets.

@iagocavalcante
Last active January 12, 2019 03:15
Show Gist options
  • Save iagocavalcante/0a522f150ad4fe116255ff885aa4960c to your computer and use it in GitHub Desktop.
Save iagocavalcante/0a522f150ad4fe116255ff885aa4960c to your computer and use it in GitHub Desktop.
const map = fn => xs => xs.map(fn);
const reduce = (fn, ini) => xs => xs.reduce(fn, ini)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment