[Haskell-cafe] Re: Suggestions for improvement

N. Raghavendra raghu at mri.ernet.in
Mon Oct 4 00:50:41 EDT 2010


At 2010-10-03T13:49:34-07:00, Gregory Crosswhite wrote:

> It is worth noting that such a function already exists in the standard
> libraries;  it is the &&& operator in Control.Arrow:
>
>     blowup = uncurry (++) . (blowup . allButLast &&& lastToTheLength)

Thanks for that.  More reading material!

Regards,
Raghavendra.

-- 
N. Raghavendra <raghu at mri.ernet.in> | http://www.retrotexts.net/
Harish-Chandra Research Institute   | http://www.mri.ernet.in/
See message headers for contact and OpenPGP information.



More information about the Haskell-Cafe mailing list