[Haskell-cafe] Status of MIME Strike Force

Jeremy Shaw jeremy.shaw at linspireinc.com
Wed Jun 27 15:35:54 EDT 2007


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.


More information about the Haskell-Cafe mailing list