4 ms·
Btw, there are quite a few language that have nominal typing, but use the equivalent of structural typing in their unions. Eg in Rust or Haskell you can distin
by eru 3y ago
Btw, there are quite a few language that have nominal typing, but use the equivalent of structural typing in their unions.
Eg in Rust or Haskell you can distinguish `Option<Option<bool>>`, but not in these languages. I guess Python and Typescript are examples of these?