Effect equivalent for F# computation expressions in TypeScript?
Is there an effect equivalent of this usage of F# computation expressions to construct sequences / arrays / iterables?
Here yield add an element to the sequece, and yield! spreads a sub sequence into the parent sequence that's being created. I miss this syntax a lot in TS and find that building dynamic sequences can be very verbose with lots of spread operators.
Here yield add an element to the sequece, and yield! spreads a sub sequence into the parent sequence that's being created. I miss this syntax a lot in TS and find that building dynamic sequences can be very verbose with lots of spread operators.


