Skip to content

Commit 04c8704

Browse files
committed
Switch from template-haskell to template-haskell-quasiquoter and -lift
1 parent 62e71a8 commit 04c8704

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

System/OsPath/Common.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,19 +124,19 @@ import System.OsString.Windows as PS
124124
import Data.Bifunctor ( bimap )
125125
import qualified System.OsPath.Windows.Internal as C
126126
import GHC.IO.Encoding.UTF16 ( mkUTF16le )
127-
import Language.Haskell.TH.Quote
127+
import Language.Haskell.TH.Quasiquoter
128128
( QuasiQuoter (..) )
129-
import Language.Haskell.TH.Syntax
129+
import Language.Haskell.TH.Lift
130130
( Lift (..), lift )
131131
import GHC.IO.Encoding.Failure ( CodingFailureMode(..) )
132132
import Control.Monad ( when )
133133

134134
#elif defined(POSIX)
135135
import GHC.IO.Encoding.Failure ( CodingFailureMode(..) )
136136
import Control.Monad ( when )
137-
import Language.Haskell.TH.Quote
137+
import Language.Haskell.TH.Quasiquoter
138138
( QuasiQuoter (..) )
139-
import Language.Haskell.TH.Syntax
139+
import Language.Haskell.TH.Lift
140140
( Lift (..), lift )
141141

142142
import GHC.IO.Encoding.UTF8 ( mkUTF8 )

System/OsPath/Internal.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ import Control.Monad.Catch
1515
( MonadThrow )
1616
import Data.ByteString
1717
( ByteString )
18-
import Language.Haskell.TH.Quote
18+
import Language.Haskell.TH.Quasiquoter
1919
( QuasiQuoter (..) )
20-
import Language.Haskell.TH.Syntax
20+
import Language.Haskell.TH.Lift
2121
( Lift (..), lift )
2222
import GHC.IO.Encoding.Failure ( CodingFailureMode(..) )
2323

filepath.cabal

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ library
9595
, bytestring >=0.11.3.0
9696
, deepseq
9797
, exceptions
98-
, template-haskell
98+
, template-haskell-lift >= 0.1 && <0.2
99+
, template-haskell-quasiquoter >= 0.1 && <0.2
99100
, os-string >=2.0.1
100101

101102
ghc-options: -Wall

0 commit comments

Comments
 (0)