-
Notifications
You must be signed in to change notification settings - Fork 26
Lazy IO #14
Copy link
Copy link
Open
Labels
status: needs more infoThis issue needs more info before any action can be done.This issue needs more info before any action can be done.
Metadata
Metadata
Assignees
Labels
status: needs more infoThis issue needs more info before any action can be done.This issue needs more info before any action can be done.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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
Affwhere we want to receive data asynchronously, but it might still be useful for synchronous effects.