Skip to content

Commit 9813f90

Browse files
committed
Switch where we import showTree* with.
The use of CPP seemed the most reasonable local solution to fixing that 'reflex's support window is longer than the re-export compatability window 'containers' provided.
1 parent 03387bd commit 9813f90

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Data/AppendMap.hs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ import Prelude hiding (map, null)
2626
import Data.Coerce
2727
import Data.Default
2828
import Data.Map (Map)
29+
#if MIN_VERSION_containers(0,5,11)
2930
import qualified Data.Map.Internal.Debug as Map (showTree, showTreeWith)
31+
#else
32+
import qualified Data.Map as Map (showTree, showTreeWith)
33+
#endif
3034
import Data.Map.Monoidal
3135
import Reflex.Class (FunctorMaybe (..))
3236
import Reflex.Patch (Additive, Group (..))

0 commit comments

Comments
 (0)