(incremental-id-gen)
(incremental-id-gen n)
constructs a function that generate incremental ids when repeatedly called. (repeatedly 5 (incremental-id-gen 100)) => [101 102 103 104 105]
constructs a function that generate incremental ids when repeatedly called. (repeatedly 5 (incremental-id-gen 100)) => [101 102 103 104 105]
(incremental-sym-gen s)
(incremental-sym-gen s n)
constructs a function that generate incremental symbols when repeatedly called. (repeatedly 5 (incremental-sym-gen 'e)) => '(?e1 ?e2 ?e3 ?e4 ?e5)
constructs a function that generate incremental symbols when repeatedly called. (repeatedly 5 (incremental-sym-gen 'e)) => '(?e1 ?e2 ?e3 ?e4 ?e5)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close