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
Objective Caml 3.09 released
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-10-29 (14:34)
From: Stefan Monnier <monnier@i...>
Subject: Re: Objective Caml 3.09 released
> The rules for Y are a bit complex.  They are designed to match our style
> of programming, where we sometimes document patterns by giving names to
> all the arguments, even if they are unused.

I like the use of "_foo", since it not only documents the pattern by giving
it a name (like "foo" does), it also documents the fact that this variable
is not used (like "_" does).