[Haskell-cafe] Looking for pointfree version

Kim-Ee Yeoh a.biurvOir4 at asuhan.com
Thu Feb 12 02:46:30 EST 2009


On the same note, does anyone have ideas for the following snippet? Tried the
pointfree package but the output was useless.

pointwise op (x0,y0) (x1,y1) = (x0 `op` x1, y0 `op` y1)



Edsko de Vries wrote:
> 
> Perfect! Beautiful. I was hoping there'd be a simple solution like that.
> 
> Thanks!
> 
> On 9 Feb 2009, at 14:31, Wouter Swierstra wrote:
> 
>> How about using Data.Monoid:
>>
>> down = downPar `mappend` downNew `mappend` downTrans
> 
> 

-- 
View this message in context: http://www.nabble.com/Looking-for-pointfree-version-tp21913653p21971304.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.



More information about the Haskell-Cafe mailing list