Skip to content

Regression: The behaviour of rparWith r0 has changed #35

Description

@Borgvall

For years the documented (and actual) behaviour of rparWith r0, was to create a spark that does no evaluation. However since commit 9ea4c07 the spark will evaluate to weak head normal form.

I have restored the documented behaviour in pull request #34.

Activity

  1. treeowl commented on Jun 10, 2018

    @treeowl
    Contributor

    No, it never had that behavior.

  2. Borgvall commented on Jun 10, 2018

    @Borgvall
    ContributorAuthor

    It did. Just run the test program with ghc 8.0.2 and parallel 3.2.1.0.

  3. treeowl commented on Jun 10, 2018

    @treeowl
    Contributor

    I see. I was confused by the documentation suggesting rparWith s = rpar `dot` s. The documentation definitely needs to be clarified. Tonight I'll come up with a fix that doesn't use realWorld#.

  4. added 2 commits that reference this issue on Jun 14, 2018
    331a9da
    9957b3e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions