Comment

Comment by jerleth

I just glanced at the page, so I might be off, but to me it looks like this is only a solution for the special case of exceptions?

Why would I want to use this instead of a more general approach to discriminated unions, eg. like: https://github.com/mcintyre321/OneOf

If I would use your library I would need a separate solution for every other case.

Take care, Martin

parent jerleth 1 year ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton