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
Re: Irrelevant variables in patterns
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christophe Raffalli <cr@d...>
Subject: Irrelevant variables in patterns

> Another simple solution is to disallow variables in case/match/try
> which do not actually occur in the body.  If you really want to have
> such variables around, then put an underscore in front of the name.

I like this one !