Skip to content

Remove deprecation warning on monomorphic fold1 #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 28, 2022
Merged

Remove deprecation warning on monomorphic fold1 #45

merged 3 commits into from
Mar 28, 2022

Conversation

JordanMartinez
Copy link
Contributor

While this was originally deprecated in #42, purescript-arrays and purescript-lists are exporting monomorphic versions of fold/fold1. So, we are removing the deprecation notice here to keep things consistent. See Harry's comment for more context

@kl0tl
Copy link
Member

kl0tl commented Dec 30, 2020

Should we also bother with the other folds (foldl1, foldr1 and foldMap1)?

@JordanMartinez
Copy link
Contributor Author

If the reasoning behind this was to keep consistency, then I think those should be added.

@JordanMartinez
Copy link
Contributor Author

Should this still be merged?

@JordanMartinez JordanMartinez merged commit 8f5a4d7 into purescript:master Mar 28, 2022
@JordanMartinez JordanMartinez deleted the addFold1 branch March 28, 2022 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants