Liking cljdoc? Tell your friends :D

fr.jeremyschoffen.mapiform.alpha.core


assoc-computedclj/s

(assoc-computed m & kfs)
source

assoc-computed-1clj/s

(assoc-computed-1 m k f)
source

augment-1clj/s

(augment-1 m k v)
source

augment-computedclj/s

(augment-computed m & kfs)
source

augment-computed-1clj/s

(augment-computed-1 m k f)
source

augment-vclj/s

(augment-v m & kvs)
source

ensure-1clj/s

(ensure-1 m k v)
source

ensure-computedclj/s

(ensure-computed m & kvs)
source

ensure-computed-1clj/s

(ensure-computed-1 m k f)
source

ensure-vclj/s

(ensure-v m & kvs)
source

reduce-kvsclj/s

(reduce-kvs f m kvs)
source

side-effect!clj/s

(side-effect! f)
(side-effect! ctxt f)

Mark a function as side effect either for use with [[fr.jeremyschoffen.mapiform.core/thread-fns]] (arity 1) or [[clojure.core/->]] (arity 2).

examples:

((side-effect! println) 1)
;1
;=> 1

(-> 1
    inc ; 2
    (thread-fns dec ;1
                (side-effect! println)
                inc) ;2
    (side-effect! println)
    dec);1
;1
;2
;=> 1
Mark a function as side effect either for use with [[fr.jeremyschoffen.mapiform.core/thread-fns]]
(arity 1) or [[clojure.core/->]] (arity 2).

examples:
```clojure
((side-effect! println) 1)
;1
;=> 1

(-> 1
    inc ; 2
    (thread-fns dec ;1
                (side-effect! println)
                inc) ;2
    (side-effect! println)
    dec);1
;1
;2
;=> 1
```
sourceraw docstring

thread-fnsclj/s

(thread-fns v & fns)

Function serving a similar purpose than the -> macro. It will thread a value v through a sequence of functions fns the result of one function application becoming the argument of the next.

Args:

  • v: the value to be threaded
  • fns: 1 argument functions that will be applied.
Function serving a similar purpose than the `->` macro. It will  thread a value `v` through a sequence of
functions `fns` the result of one function application becoming the argument of the next.

Args:
- `v`: the value to be threaded
- `fns`: 1 argument functions that will be applied.
sourceraw docstring

wrapped-side-effect!clj/s

(wrapped-side-effect! f wrapper)
(wrapped-side-effect! ctxt f wrapper)

Similar to [[fr.jeremyschoffen.mapiform.core/side-effect!]] with the added functionnality of wrapping the function f with the middleware wrapper.

Similar to [[fr.jeremyschoffen.mapiform.core/side-effect!]] with the added functionnality
of wrapping the function `f` with the middleware `wrapper`.
sourceraw docstring

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

× close