Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] variant with tuple arg in pattern match?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Charles Martin <charles@c...>
Subject: Re: [Caml-list] variant with tuple arg in pattern match?

> > Sounds good to me.  Now, for consistency, shouldn't you do the same
> > for function arguments? ;-)
>
>I would suggest the other way round: as we already did for functions,
>we should prefer the curried syntax for constructors.

Yes, yes, yes please!


-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr