[commit: packages/containers] cleaned_bugfix394, master, merge-doc-target, merge-fixes-5.9, revert-408-bugfix_394: IntMap: added deprecation for debugging functions (86a50ab)

git at git.haskell.org git at git.haskell.org
Mon Apr 17 21:46:13 UTC 2017


Repository : ssh://git@git.haskell.org/containers

On branches: cleaned_bugfix394,master,merge-doc-target,merge-fixes-5.9,revert-408-bugfix_394
Link       : http://git.haskell.org/packages/containers.git/commitdiff/86a50abbe709eec4b91b7ba422ca1336b31e5b04

>---------------------------------------------------------------

commit 86a50abbe709eec4b91b7ba422ca1336b31e5b04
Author: wren romano <wren at community.haskell.org>
Date:   Sat Nov 26 20:14:48 2016 -0800

    IntMap: added deprecation for debugging functions


>---------------------------------------------------------------

86a50abbe709eec4b91b7ba422ca1336b31e5b04
 Data/IntMap/Internal.hs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Data/IntMap/Internal.hs b/Data/IntMap/Internal.hs
index b11d6a4..ba8efb6 100644
--- a/Data/IntMap/Internal.hs
+++ b/Data/IntMap/Internal.hs
@@ -3094,6 +3094,10 @@ splitRoot orig =
 {--------------------------------------------------------------------
   Debugging
 --------------------------------------------------------------------}
+{-# DEPRECATED showTree, showTreeWith
+    "These debugging functions will be moved to a separate module in future versions"
+    #-}
+
 -- | /O(n)/. Show the tree that implements the map. The tree is shown
 -- in a compressed, hanging format.
 showTree :: Show a => IntMap a -> String



More information about the ghc-commits mailing list