I’m pretty sure the problem I’m having could be solved elegantly with monadic recursion schemes? It would be awesome if there was a way I could represent them in TypeScript. I don’t know what the fuck I’m doing either way but think of how many character strokes it could save me.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://social.treehouse.systems/users/jnkrtech/statuses/115998729352853082 on your instance and quote it. (Note that quoting is not supported in Mastodon.)