[Haskell-cafe] When folding is there a way to pick out the last point being processed?

Casey Hawthorne caseyh at istar.ca
Thu Jun 11 21:47:18 EDT 2009


When folding is there a way to pick out the last point being
processed?

The first point can easily be picked out with (x:xs) but last xs
crawls down the list.
--
Regards,
Casey


More information about the Haskell-Cafe mailing list