Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What is this pervasive use of yield*? I've been writing Typescript for quiet some time and I've never seen yield* used in this way: https://github.com/anomalyco/opencode/blob/dev/packages/open...


They are using effect-ts which uses yield as their equivalent to haskells Do notation.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: