Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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).


        Stefan