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

Implement Seq folds as coerced FingerTree folds #1076

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 30, 2024

  1. Implement Seq folds as coerced FingerTree folds

    * foldr1 and foldl1 are now implemented as coercions.
    * Other folds were implemented using coercions in a complicated manner,
      which is now simplified. GHC is smart enough to compile these to the
      same Core, so there is no change in runtime behavior.
    meooow25 committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    13ccd71 View commit details
    Browse the repository at this point in the history