Liking cljdoc? Tell your friends :D

fif.stdlib.collection-ops

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

raw docstring

apply-opclj/s

(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.
sourceraw docstring

import-stdlib-collection-opsclj/s

(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.
sourceraw docstring

op-unpairclj/s

(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.
sourceraw docstring

pairclj/s

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close