4 ms·
Does TypeScript have any kind of "do notation" or "comprehension" syntax? LINQ is not the best by any means but it does seem like a big improvement over nothing
by lmm 9y ago
Does TypeScript have any kind of "do notation" or "comprehension" syntax? LINQ is not the best by any means but it does seem like a big improvement over nothing.
- Matthias247 9y agoNo, it doesn't. I guess that's because monads are not considered idiomatic typescript. And for the special case of async programming there's async/await support.