haskell-hvr / regex-tdfa

Pure Haskell Tagged DFA Backend for "Text.Regex" (regex-base)
http://hackage.haskell.org/package/regex-tdfa
Other
36 stars 9 forks source link

`Data.IntMap.CharMap2` uses deprecated `Data.IntMap.showTree` #21

Closed andreasabel closed 2 years ago

andreasabel commented 3 years ago

Compiler warning: Data.IntMap.CharMap2 uses deprecated Data.IntMap.showTree:

Building library for regex-tdfa-1.3.1.0..
[ 1 of 25] Compiling Data.IntMap.CharMap2 ( lib/Data/IntMap/CharMap2.hs, dist/build/Data/IntMap/CharMap2.o )

lib/Data/IntMap/CharMap2.hs:258:24: warning: [-Wdeprecations]
    In the use of ‘showTree’
    (imported from Data.IntMap, but defined in containers-0.5.11.0:Data.IntMap.Internal.DeprecatedDebug):
    Deprecated: "These debugging functions will be removed from this module. They are available from Data.IntMap.Internal.Debug."
    |
258 | showTree (CharMap m) = MD.showTree m
    |                        ^^^^^^^^^^^