ClojureDocs

Search results for query: juxt

1 to 1 of 1 results. prev page | next page

  • juxt

    clojure.core

    • (juxt f)
    • (juxt f g)
    • (juxt f g h)
    • (juxt f g h & fs)

    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)]

prev page | next page