Hacker News new | ask | show | jobs
by jerleth 310 days ago
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