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

Write custom strict folds #281

Merged
merged 1 commit into from Jun 2, 2016
Merged

Write custom strict folds #281

merged 1 commit into from Jun 2, 2016

Conversation

treeowl
Copy link
Contributor

@treeowl treeowl commented Jun 2, 2016

Writing foldl' and foldr' for sequences by hand, instead of using the
default definitions, makes them about twice as fast.

Writing `foldl'` and `foldr'` by hand, instead of using the
default definitions, makes them about twice as fast.

Fix completely bogus definition of `length` for `ViewR`.
@treeowl treeowl merged commit 4e4d4e9 into haskell:master Jun 2, 2016
@treeowl treeowl deleted the foldstrict branch June 2, 2016 02:20
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.

None yet

1 participant