Today I'm sharing a little trick that I like to use to make switch statements cleaner and more type-safe. Happy to hear other ideas!
There is support for this in Effect as another implementation.
https://effect.website/docs/guides/style/pattern-matching
There is support for this in Effect as another implementation.
https://effect.website/docs/guides/style/pattern-matching