Skip to content

Instantly share code, notes, and snippets.

@yayitswei
Created August 6, 2013 20:06
Show Gist options
  • Save yayitswei/6168124 to your computer and use it in GitHub Desktop.
Save yayitswei/6168124 to your computer and use it in GitHub Desktop.
summarize
; how would you write this function summarize?
(summarize [{:from "A" :to "B" :amount 3} {:from "B" :to "A" :amount 1}]) => {:from "A" :to "B" :amount 2}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment