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] naming parts of optional arguments?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Chris Hecker <checker@d...>
Subject: Re: [Caml-list] naming parts of optional arguments?

>Where do you see a ?xy: in the above source code?
>?xy is a shorthand for ?xy:xy, as explained in the manual.
>xy is the variable, not ?xy:.

Ah, my mistake.  Although, you must admit, it's pretty subtle.  That still 
doesn't answer why the "as" doesn't work without the label.


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