> > 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 ?

Marc Weber
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to