Discussion: Add total indexing function to Data.Sequence
Edward Kmett
ekmett at gmail.com
Mon May 30 01:40:54 UTC 2016
lookup works for me.
-Edward
On Sun, May 29, 2016 at 6:52 PM, David Feuer <david.feuer at gmail.com> wrote:
> I'm tempted to go with `lookup`, to match Data.IntMap.
>
> On Sun, May 29, 2016 at 6:35 PM, Francesco Ariis <fa-ml at ariis.it> wrote:
> > On Sun, May 29, 2016 at 06:28:25PM -0400, David Feuer wrote:
> >> I don't like that bikeshed color much either. Go ahead and suggest
> >> something else.
> >
> > safeIndex? totalIndex? Best solution would be to rename index to
> > unsafeIndex and your proposed function to index, but it's obviously
> > not practicable.
> > _______________________________________________
> > Libraries mailing list
> > Libraries at haskell.org
> > http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20160529/51228916/attachment.html>
More information about the Libraries
mailing list