mastodon.sdf.org is part of the decentralized social network powered by Mastodon.
"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko

Administered by:

Server stats:

2.6K
active users

Learn more

Michael Newton

I may have got a bit carried away writing a blog post presenting both a really practical way with a nice developer experience of handling asynchronous operations that might fail in TypeScript... and a "write your own monad in TypeScript" tutorial.

If you're interested in , , or both - please share. I think the techniques in this post can really make writing TS a lot more enjoyable, and the results more reliable.

blog.mavnn.co.uk/2024/02/19/do

Do notation for TypeScript

blog.mavnn.co.uk