Tagged Unions in Typescript
April 19, 2020A Tagged Union is a type that can represent several cases (or subtypes). More specifically tagged unions are a refinement of union types…
Compare objects using Eq type class
April 11, 2020Want to check if two domain models are logically equal? We can achieve this by implementing instances of the Eq type class for our domain…