At Wed, 27 Jun 2007 21:14:02 +0200,
Marc Weber wrote:
> 
> > > exampleHeaders2 :: [RawHeader]
> > > exampleHeaders2 =
> > >    ((Subject "whee") .+. 
> > >     (Subject "bork") .+.
> > >     (Keywords ["baz", "bar", "bam"]) .*.
> > >     (Keywords ["zip", "zap", "zop"]) .*.
> > >     empty
> > >    )
> > [...] 
> > But, it is also really wonky because the operator has a bit of a
> > postfix feel to it. For example, it is the .*. at the end of this line
> > that is making it use addHeader. 
> 
> So why not use flip on each operator to get
>  empty .*. (Subject "blah") .+.  ... ?
> 
> That might be a little bit more comfortable ?

Ah, good idea. I'll play with that. Thanks!

j.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to