juxt
juxtaposes a set of functions
Usage:
(juxt func*)
Returns a new function that represents the juxtaposition of the provided functions. This function returns a vector containing the result of applying each provided function to the juxtaposed function’s arguments.
An Example
(define juxt-math (juxt * + - /))
(juxt-math 32 10)
This example will return [320 42 22 16/5] as though [(* 32 10) (+ 32 10) (- 32 10) (/ 32 10)]
were called.