Despite being a small library, there is a lot we can do with daggy
Pattern matching and union types are, in my view, one of the concepts in programming which don't get the attention they deserve. In this post, I'm going to show how they can help us write more declarative code.
Once we're happy with the overall design of our code, all that is left is the actual implementation
Focusing on implementation details might be a waste of time if we just want to test an idea out. In these rare cases, the unsafeCrashWith function defined in the Partial.Unsafe module comes in handy