On Thu, Oct 1, 2015 at 6:20 PM, Thomas Refis wrote: > Note the you could also do "type t = [ | s ]" > Actually I had tried that, but it doesn't work. > > 2015-10-01 18:06 GMT-04:00 Ashish Agarwal : > > Embarrassing. I don't know why I thought I had to put brackets... Thanks! > > > > On Thu, Oct 1, 2015 at 5:47 PM, Haoyang Wang wrote: > >> > >> > On Oct 1, 2015, at 2:41 PM, Ashish Agarwal > >> > wrote: > >> > > >> > type s = [`A | `B] > >> > type t = [s] > >> > >> type t = s > >> > >> -- > >> Caml-list mailing list. Subscription management and archives: > >> https://sympa.inria.fr/sympa/arc/caml-list > >> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > >> Bug reports: http://caml.inria.fr/bin/caml-bugs > > > > >