Skip to content

Commit

Permalink
Support GHC 9.0 and 9.2 astynax#19
Browse files Browse the repository at this point in the history
  • Loading branch information
uhbif19 committed Mar 1, 2023
1 parent d0b22cb commit 533723a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hemmet.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 6 additions & 1 deletion src/Hemmet/FileTree/Transformation.hs
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 533723a

Please sign in to comment.