brianh: > [moved to cafe] > Dominic Steinitz wrote: > >Taral wrote: > >>On 5/28/06, Dominic Steinitz <[EMAIL PROTECTED]> > >>wrote: > >>>Is this defined in some library? Thanks, Dominic. > >> > >>Don't think so. I use: > >> > >>\a b -> f (g a b) > >> > >Taral, > > > >Thanks. What prompted this question is that I find myself writing > >things like: > > > >foo = ((.).(.)) concat intersperse > > Hi Dominic - > I hope it's ok for me to ask this question and I'm absolutely burning with > curiosity to find out the answer... > > How did you know to write ((.).(.)) instead of (\f g a b -> f (g a b)) ?
If you play with the @pointless plugin in lambdabot http://haskell.org/haskellwiki/Pointfree it becomes almost second nature with practice :) -- Don _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe