Skip to content

Instantly share code, notes, and snippets.

@MichaelDrogalis
Created October 16, 2013 19:15
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 MichaelDrogalis/7013173 to your computer and use it in GitHub Desktop.
Save MichaelDrogalis/7013173 to your computer and use it in GitHub Desktop.
(def lookup {"inc" inc})
(def command ["inc" 0])
(let [[f & more] command]
(apply (lookup f) more))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment