Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Pattern matching missing (or brain damage?)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alessandro Baretta <alex@b...>
Subject: Re: [Caml-list] Pattern matching missing (or brain damage?)

William Lovas wrote:
> This is legal.  It's covered in the Chapter 6 of the manual, under
> Patterns, sub-heading ``Or'' patterns:
> You might be having trouble if your subpatterns don't bind exactly 
> the same variables...

Many thanks to both William and Michael.

No, I was not having trouble with the bindings, since I was 
only checking the variant tag. The problem is that I'm still 
writing code at 3 in the morning. But at last I got it to 
compile, yeah! Tomorrow, debugging...


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: