Proposal: unsnoc, unsafeInit and unsafeLast for the bytestring library

Mikhail Vorozhtsov mikhail.vorozhtsov at
Tue Apr 3 16:48:22 CEST 2012

On 04/03/2012 08:50 PM, Simon Meier wrote:
> 2012/4/3 Duncan Coutts<duncan.coutts at>:
> @mikkhail: Note that at least the runtime for
> Data.ByteString.Lazy.Char8 is wrong. It should be O(n/c) instead of
> O(1).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bytestring-unsnoc.patch
Type: text/x-patch
Size: 27049 bytes
Desc: not available
URL: <>

More information about the Libraries mailing list