On Thu, Oct 1, 2015 at 6:20 PM, Thomas Refis <thomas.refis@gmail.com> 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 <agarwal1975@gmail.com>:
> 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 <hywang@pobox.com> wrote:
>>
>> > On Oct 1, 2015, at 2:41 PM, Ashish Agarwal <agarwal1975@gmail.com>
>> > 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
>
>