Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Calling a function with a self-defined type as argument
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Markus Mottl <markus@o...>
Subject: Re: [Caml-list] Calling a function with a self-defined type as argument
On Thu, 22 Aug 2002, Remi VANICAT wrote:
> then when you read a code like :
> 
> x Azerty ""
> 
> you won't know if it is 
> x (Azerty "")
> or 
> (x Azerty) ""
> without reading the declaration of Azerty.
> 
> Thanks to the way the language (and compiler) actually work, I can say
> that it is the first solution, even if I don't know what is this
> Azerty constructor.

I suppose you meant the second solution... ;-)

Regards,
Markus Mottl

-- 
Markus Mottl                                             markus@oefai.at
Austrian Research Institute
for Artificial Intelligence                  http://www.oefai.at/~markus
-------------------
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