Ste*_*art 14 lisp combinations smalltalk clojure
我正在尝试学习Clojure,但我的突触似乎与Smalltalk很难接触.
什么相当于这个功能?
[:n :k | (1 to: k) inject: 1 into: [:c :i | c * (n - k + i / i)]]
sep*_*p2k 14
相当于的clojure lst inject: s into: f是(reduce f s lst)
lst inject: s into: f
(reduce f s lst)
归档时间:
14 年,10 月 前
查看次数:
935 次
最近记录: