Sync
This commit is contained in:
parent
6f050a029e
commit
776bba907c
3887 changed files with 59894 additions and 7280 deletions
5
Task/Knuths-algorithm-S/Clojure/knuths-algorithm-s-3.clj
Normal file
5
Task/Knuths-algorithm-S/Clojure/knuths-algorithm-s-3.clj
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
(defn s-of-n-creator [n]
|
||||
(let [state (atom [[] 0])
|
||||
s-of-n-fn (s-of-n-fn-creator n)]
|
||||
(fn [item]
|
||||
(first (swap! state s-of-n-fn item)))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue