Re: Unused identifiers in default case patterns

1999-06-26 Thread Fergus Henderson
On 25-Jun-1999, Simon Marlow <[EMAIL PROTECTED]> wrote: > > Perhaps when unused identifier warnings are turned on, GHC should also warn > about non-binding occurrences of identifiers beginning with '_'? Yes, it should indeed do so, IMHO. (The Mercury compiler warns if any identifier begining wi

RE: Unused identifiers in default case patterns

1999-06-25 Thread Simon Marlow
> Alternatively, of course, the coding style could simply change to > > case e of > -- ... > _other -> default_action > > or > > case e of > -- ... > _ -> default_action > > The former is IMHO ugly, and the latter fails to indicate to the > reader that this is intended t