Array functions moved into Data.Foldable are no longer tail recursive · Issue #372 · purescript/purescript · GitHub
Skip to content

Array functions moved into Data.Foldable are no longer tail recursive #372

Description

@paf31

Functions like sum were generalized and placed into Data.Foldable, and now they fail to terminate for large arrays due to stack overflow.

We either need to move them back or make the new functions tail recursive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions