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: 1994-05-28 (11:02)
From: Christophe Raffalli <cr@d...>
Subject: Irrelevant variables in patterns

I understand your "point de vue". But then to catch the mispelling of an
exception, the only solution I can see is a different syntax for constructors
and variables at least in pattern (a quote in front of the constructeur in
pattern only).

I think this is important to find a solution to the mispelling problem,
because it's a common bug which is sometimes tricky to discover.