This week, we'll look at some interesting details about Discriminated Union types. Tuple vs. Multiple Fields There is a subtle difference between these two cases of Discriminated Union (DU): type DU = | A of int * string | B of (int * string...
jindraivanek.hashnode.dev3 min read
No responses yet.