Includes the majority of clojure collection functions, which have been ported to fif for use with the same collections.
All collection operations follow the same argument order:
Examples: (require '[fif.core :as fif])
;; Clojure (conj [1 2 3] 4) ;; => [1 2 3 4]
;; Fif (fif/reval [1 2 3] 4 conj) ;; => '([1 2 3 4])
Includes the majority of clojure collection functions, which have been ported to fif for use with the same collections. All collection operations follow the same argument order: Examples: (require '[fif.core :as fif]) ;; Clojure (conj [1 2 3] 4) ;; => [1 2 3 4] ;; Fif (fif/reval [1 2 3] 4 conj) ;; => '([1 2 3 4])
(apply-op sm)
Takes the top value, which is a collection of values, and places them at the front of the code queue. Places any non-collection values on the code queue.
Takes the top value, which is a collection of values, and places them at the front of the code queue. Places any non-collection values on the code queue.
(import-stdlib-collection-ops sm)
Imports the collection operators as part of the standard library.
Imports the collection operators as part of the standard library.
(op-unpair sm)
Takes the top value, which is a vector of two-elements, and places the two elements on the main stack.
Takes the top value, which is a vector of two-elements, and places the two elements on the main stack.
(pair x y)
Turns the two arguments into a vector of the two arguments.
Turns the two arguments into a vector of the two arguments.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close