immutable icon indicating copy to clipboard operation
immutable copied to clipboard

Higher-order procedures

Open MSE99 opened this issue 3 years ago • 3 comments

I know that the goal of this project is to provide a clean and efficient minimal API but i think having for example a some high order procedures like Filter will help improve usage and dx.

MSE99 avatar Nov 14 '22 17:11 MSE99

I'm open to a proposal for higher-level functions (e.g. Filter, Map(), etc). I don't commit a lot of time on this repo so I don't have the bandwidth to implement it but I'm open to other folks implementing something.

benbjohnson avatar Nov 14 '22 19:11 benbjohnson

Should we pass other information (other than the current item) about the list to Filter predicate?

MSE99 avatar Nov 15 '22 09:11 MSE99

@MSE99 I have prototyped some HOFs here: https://github.com/benbjohnson/immutable/pull/37 ? Does they seem like what you were hoping for?

laher avatar Jan 04 '23 08:01 laher