Hacker News new | ask | show | jobs
by yoz-y 2981 days ago
Can you force explicit nursery passing though? One might make a global nursery object and then just rely on that.
1 comments

In some existing languages, yes. But it’s easy to imagine future languages (including future versions of current languages) that disallow creating nurseries outside of a function scope.
At this point you're pretty much reinventing Monads.