darcs patch: add Data.Set.notMember and Data.Map.notMember

Benjamin Franksen benjamin.franksen at bessy.de
Fri Mar 10 08:29:16 EST 2006


On Friday 10 March 2006 12:32, Christian Maeder wrote:
> John Meacham wrote:
> > On Thu, Mar 09, 2006 at 11:09:50PM +0100, Jean-Philippe Bernardy
> > wrote:
> > f x | not (x `Set.member` map) && foo = ...
> > is hard to read.
>
> You may swap quards (or the "then" and "else" branches of "if"), or
> avoid the infix notation (which is horrible in this case anyway).

What makes you think so (referring to the 'horrible' part)?

Ben


More information about the Libraries mailing list