Skip to content

Instantly share code, notes, and snippets.

Created October 13, 2011 00:03
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 anonymous/1282995 to your computer and use it in GitHub Desktop.
Save anonymous/1282995 to your computer and use it in GitHub Desktop.
<amalloy> (doc juxt)
<lazybot> => "([f] [f g] [f g h] [f g h & fs]); Alpha - name subject
to change. Takes a set of functions and returns a fn that is the
juxtaposition of those fns. The returned fn takes a variable number of
args, and returns a vector containing the result of applying each fn
to the args (left-to-right). ((juxt a b c) x) => [(a x) (b x) (c
x)]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment