Re: Why not unions



Scott Moore <samiamsansspam@xxxxxxx> wrote:
> Jon Harrop wrote:

> > Many more modern languages (like OCaml and SML) provide safe alternatives to
> > union called variant types.

> As do older languages, such as Pascal.

According to

http://www.levenez.com/lang/history.html

ML is actually only ~3 years younger than Pascal. Of course, ML didn't
originally have variant types nor pattern matching.

-Vesa Karvonen
.