Skip to content
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

array: specialize S.takeWhile and S.dropWhile #619

Merged
merged 1 commit into from
Apr 5, 2019

Conversation

davidchambers
Copy link
Member

As explained in sanctuary-js/sanctuary-type-classes#122, these functions are currently unsound. Z.takeWhile and Z.dropWhile are to be removed in sanctuary-js/sanctuary-type-classes#123. S.takeWhile and S.dropWhile are useful functions, so it would be a shame to lose them entirely. Instead, let's specialize them.

@davidchambers davidchambers force-pushed the davidchambers/take-drop-while branch from bc17e0d to 5e27a16 Compare April 5, 2019 15:24
@davidchambers davidchambers merged commit ead2727 into master Apr 5, 2019
@davidchambers davidchambers deleted the davidchambers/take-drop-while branch April 5, 2019 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants