Add fold, foldMap, foldM, foldMaybe#115
Add fold, foldMap, foldM, foldMaybe#115natefaubion wants to merge 1 commit intopurescript-deprecated:masterfrom
Conversation
|
I wonder if the new |
|
I had no idea this class existed 😆 |
|
But yeah, adding |
|
Of course we can, |
|
Will these go into instances then? If not, can we use the |
|
I was gunning for API parity with StrMap. I'm happy to make modifications if we want to shift over to instances, but we should do the same for StrMap, and it will be a breaking change (or we can add deprecated warnings). |
|
I agree they should ideally match. Maybe let's just add the instances on top of what you have now, and we can remove them later. |
|
I'm not sure if it is necessarily a problem to provide monomorphic functions as well as an instance providing those same functions in general - sometimes the former are more convenient, I think. |
No description provided.