diff --git a/hemmet.cabal b/hemmet.cabal index 0268cc7..95df48e 100644 --- a/hemmet.cabal +++ b/hemmet.cabal @@ -91,7 +91,7 @@ executable hemmeti app/common other-modules: Hemmet.Cli , Hemmet.Tui - build-depends: brick ^>=1.0 + build-depends: brick , microlens , megaparsec , mtl diff --git a/src/Hemmet/FileTree/Transformation.hs b/src/Hemmet/FileTree/Transformation.hs index 1f76879..6937fa2 100644 --- a/src/Hemmet/FileTree/Transformation.hs +++ b/src/Hemmet/FileTree/Transformation.hs @@ -1,11 +1,16 @@ +{-# LANGUAGE CPP #-} + module Hemmet.FileTree.Transformation ( haskellify , pythonify ) where import Data.Char +#if MIN_VERSION_GLASGOW_HASKELL(9,0,0,0) import Data.Text as T hiding (concatMap, elem, map) - +#else +import Data.Text as T hiding (concatMap, map) +#endif import Hemmet.Tree import Hemmet.FileTree.Tree