Skip to content

Lazy IO #14

Open
Open
@paf31

Description

@paf31

We could provide unsafeLazyEff :: forall eff a. Eff eff a -> Eff eff (Lazy a) which will allow us to support lazy IO.

For example, random numbers can be generated as lazy infinite lists. Right now this is a bit of a pain.

Note this is not a substitute for things like chunked IO via Aff where we want to receive data asynchronously, but it might still be useful for synchronous effects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs more infoThis issue needs more info before any action can be done.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions