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 is a website building & hosting documentation for Clojure/Script libraries
× close