JanetDocsSourcePlaygroundTutorialsI'm Feeling luckyCommunityGitHub sign in

juxt

core-api


    macro
    boot.janet on line 1325, column 1

    
2 examplesSign in to add an example
Loading...
(defn f1 [s] (string "-" s "-"))
(defn f2 [s] (string "=" s "="))
(defn f3 [s] (string "#" s "#"))

(def f (juxt f1 f2 f3))

(f "x") # => ("-x-" "=x=" "#x#")
uvtcPlayground
((juxt + - * /) ;[1 2 3])
# => '(6 -4 6 0.166667)
sogaiuPlayground