[Haskell-cafe] Re: Suggestions for improvement

N. Raghavendra raghu at mri.ernet.in
Mon Oct 4 00:58:26 EDT 2010

At 2010-10-03T20:03:22-04:00, wren ng thornton wrote:

> And just to play a little Haskell golf:
>     lastToTheLength = ap (flip map) (const . last)

Thanks for that.


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