Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defn fold-left [f acc coll]
- (let [x (first coll)]
- (if (= x nil) acc
- (fold-left f (f acc x) (rest coll)))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement