Accumulator. Based on Andre Bartetzki's CMask.
Accumulator. Based on Andre Bartetzki's CMask.
(accumulate genfn)
(accumulate genfn init)
The accumulator continuously sums all its input values to an inital value init. The inital value is optional and has a default value of 0.
The accumulator continuously sums all its input values to an inital value init. The inital value is optional and has a default value of 0.
(accumulate-limit low high genfn)
(accumulate-limit low high genfn init)
The accumulator continuously sums all its input values to an inital value init. The inital value is optional and has a default value of 0.
The accumulator continuously sums all its input values to an inital value init. The inital value is optional and has a default value of 0.
(accumulate-mirror low high genfn)
(accumulate-mirror low high genfn init)
The accumulator continuously sums all its input values to an inital value init. The inital value is optional and has a default value of 0.
The accumulator continuously sums all its input values to an inital value init. The inital value is optional and has a default value of 0.
(accumulate-wrap low high genfn)
(accumulate-wrap low high genfn init)
The accumulator continuously sums all its input values to an inital value init. The inital value is optional and has a default value of 0.
The accumulator continuously sums all its input values to an inital value init. The inital value is optional and has a default value of 0.
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 |