Can we deprecate the debugging functions in Data.Map?
amindfv at gmail.com
amindfv at gmail.com
Tue Aug 23 22:41:35 UTC 2016
Yes, I'd prefer to keep 'valid' because of 'mapMonotonic', 'mergeWithKey' etc.
+0 on the others
Tom
> El 23 ago 2016, a las 18:20, David Feuer <david.feuer at gmail.com> escribió:
>
> Let me revise that slightly: the valid function is also potentially useful for people using mapMonotonic and similar "unsafe" functions, so I guess that one should remain.
>
>
> On Aug 23, 2016 4:26 PM, "David Feuer" <david.feuer at gmail.com> wrote:
> For reasons I can't fathom, Data.Map exports the functions showTree,
> showTreeWith, and valid, all of which seem to be intended for
> debugging the map implementation. No user should ever need these
> abstraction-smashing functions unless they're monkeying around with
> mergeWithKey. If these functions are deprecated, they'll still be
> available from the "internal" module Data.Map.Base. Data.Map.Base will
> be exposed through Cabal at the request of Edward Kmett, although it
> will remain hidden from Haddock and completely unsupported.
>
> David
>
> _______________________________________________
> 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/20160823/42c0af0e/attachment.html>
More information about the Libraries
mailing list