4 ms·
I'm new to Clojure and I'm trying to parse this line: (reduce + (map (comp inc inc) (range 10))) Is the following a correct Haskell equivalent? foldr1 (+
by VladimirGolovin 11y ago
I'm new to Clojure and I'm trying to parse this line:
(reduce + (map (comp inc inc) (range 10)))
Is the following a correct Haskell equivalent?
foldr1 (+) (map (succ.succ) [1..10])