4 ms·
But what about gonerators? /s
by downvotetruth 3y ago
But what about gonerators? /s
- anonymoushn 3y agoThis proposal is about generators.
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- benatkin 3y agoYes please, goroutines and gonerators.
- Someone 3y agoIf go had monads…
- zer8k 3y ago`Gonerator` is the pattern for side-effect only deleting a list. Just implement gonerator and your lovely list will delete itself. for k := i.getNext() { yeet k } I'm willing to negotiate on `yeet` but its close enough to `yield` it feels natural.