You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thoughts on adding a generic map similar to map from clojure? I've seen some call it fmap (the haskell naming) and figure it would be a pretty easy addition.
usage
(fmap #'1+'(1234))
The text was updated successfully, but these errors were encountered:
@Gavinok Thanks for the thoughts. Interesting idea. For lists, of course, there is already mapcat, but Clojure's map accepts multiple collection types. It also yields a lazy sequence as output, which I'm explicitly avoiding for now. I will have to think about whether a generic implementation makes sense here. Going to leave this issue open in case anyone else wants to weigh in.
Thoughts on adding a generic map similar to map from clojure? I've seen some call it fmap (the haskell naming) and figure it would be a pretty easy addition.
usage
The text was updated successfully, but these errors were encountered: