Skip to content

Exposure of the Fold constructor #1325

@shlok

Description

@shlok

From: https://hackage.haskell.org/package/streamly-0.8.0/docs/Streamly-Data-Fold.html

The constructor is not yet exposed via exposed modules… [emphasis mine]

Just to confirm, is your plan actually to expose it at some point?

I suggest this indeed be done. I have in my codebase a Fold that is created on top of another Fold. This is done using a pattern match on the latter, exactly like you are already doing internally in the streamly codebase to implement many of the Fold functions (e.g., lmap, to name one of countless).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions