Discussion: reconsider lens-like exports from containers

David Feuer david.feuer at gmail.com
Wed Apr 27 07:23:49 UTC 2016


Right you are. Ugh. I'll need to rethink this.
On Apr 27, 2016 3:19 AM, <rf at rufflewind.com> wrote:

> On Tue, Apr 26, 2016, at 15:03, David Feuer wrote:
> > Way back when, Shachaf Ben-Kiki suggested an efficient implementation
> > of `at` for Data.Map in
> > https://mail.haskell.org/pipermail/libraries/2013-May/019761.html but
> > that was never approved for inclusion.
>
> Funny thing, I just tried doing that not to long ago with `at`:
>
> https://github.com/haskell/containers/pull/192
>
> In the end, the results were mixed.  It was a small optimization in some
> situations, and a moderate pessimization in others (esp. when the
> Functor becomes too complex for GHC to optimize).
>
> --
> RF
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20160427/729eea22/attachment.html>


More information about the Libraries mailing list