(display grp eles)formats an output for
(->> (query/query-class (type []) ["create"]) (display {:select-terms [:params]})) ;;=> ([java.util.List] [clojure.lang.ISeq] ;; [clojure.lang.IReduceInit] [[Ljava.lang.Object;] ;; [java.lang.Iterable])
formats an output for
(->> (query/query-class (type []) ["create"])
(display {:select-terms [:params]}))
;;=> ([java.util.List] [clojure.lang.ISeq]
;; [clojure.lang.IReduceInit] [[Ljava.lang.Object;]
;; [java.lang.Iterable])
(first-terms-fn grp)creates a function that returns the first element of the list
((display/first-terms-fn {:first true}) [1 2 3]) => 1
creates a function that returns the first element of the list
((display/first-terms-fn {:first true}) [1 2 3])
=> 1(merge-terms-fn grp)creates a function that returns the first element of the list
(-> (query/query-class (type []) ["create"]) ((display/merge-terms-fn {:merge true}))) ;;=> #[create :: ([java.util.List]), ([clojure.lang.ISeq]), ;; ([clojure.lang.IReduceInit]), ([java.lang.Object[]]), ;; ([java.lang.Iterable])]
creates a function that returns the first element of the list
(-> (query/query-class (type []) ["create"])
((display/merge-terms-fn {:merge true})))
;;=> #[create :: ([java.util.List]), ([clojure.lang.ISeq]),
;; ([clojure.lang.IReduceInit]), ([java.lang.Object[]]),
;; ([java.lang.Iterable])]
(select-terms-fn grp)creates a function that selects terms to output
(-> (query/query-class (type []) ["create"]) ((display/select-terms-fn {:select-terms [:name]}))) => ["create"]
creates a function that selects terms to output
(-> (query/query-class (type []) ["create"])
((display/select-terms-fn {:select-terms [:name]})))
=> ["create"]cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |