DEV Community 👩‍💻👨‍💻

Discussion on: Abusing TypeScript Generators

Collapse
 
rockson_30 profile image
Rockson

really cool but let's hope for the do syntax in ts/js

Collapse
 
mikearnaldi profile image
Michael Arnaldi Author

kind of impossible for a generic monad, they would have to effectively include monads and HKTs with proper inference

Collapse
 
rockson_30 profile image
Rockson

Yeah js/ts isn't moving toward pure functional programming. But would love it