[Haskell-cafe] Q about last&init

Janis Voigtländer janis.voigtlaender at gmail.com
Fri Jul 18 06:23:13 UTC 2014

2014-07-18 8:04 GMT+02:00 Tony Morris <tmorris at tmorris.net>:

> data SnocList a = SnocList ([a] -> [a])
> Inserts to the front and end in O(1).
Which is not what he wants. He said he wants to insert at the front and
*remove* from the end in O(1).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140718/215f415d/attachment.html>

More information about the Haskell-Cafe mailing list