Why can't constructors of sumtypes take nameless
records? (Warning stupid example follows)
type plop = Foo | Bar {age :
int};;
doesn't work, but
type person = {age : int};;
type plop = Foo | Bar of person;;
does.
Anyone know why?
Thanking you in advance,