Proposal: unsnoc, unsafeInit and unsafeLast for the bytestring library

Michael Snoyman michael at snoyman.com
Mon Apr 2 11:47:30 CEST 2012


On Mon, Apr 2, 2012 at 12:42 PM, Mikhail Vorozhtsov
<mikhail.vorozhtsov at gmail.com> wrote:
> Hi.
>
> I propose to add the missing counterparts of `uncons` and `unsafeHead/Tail`
> functions to the bytestring library.
>
> Discussion deadline: 2 weeks
>
> The patch is attached.
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>

+1 on unsnoc in particular, I know I've been surprised a few times
that it's not there. I haven't specifically missed the other two, but
I agree that they should be added.

Michael



More information about the Libraries mailing list