F# – Extending Discriminated Unions using marker interfaces
One of the problems with using F#’s Discriminated Unions is that they are not extensible, in that all your union cases must be specified inside one Discriminated Union (abbreviated to DU from this point) type and you can’t inherit from an existing DU type to add additional union cases. In most cases, having to specify …
F# – Extending Discriminated Unions using marker interfaces Read More »