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...

Markdown supported · ⌘↵ to post
No responses yet.