Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Matching when
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Florian Hars <hars@b...>
Subject: Re: [Caml-list] Matching when
Oleg wrote:
> What is "Any" ?  I looked in the keywords, values and types indexes of the 
> O'Caml manual, and I did not find the answer.

It is a cconstr-name:

   cconstr-name ::=  capitalized-ident
                  |  false
                  |  true
                  |  [ ]
                  |  ( )


It's probably part of some

   type t = Any | Int of int | Float of float | ...

Yours, Florian.
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners