@@ -31,6 +31,8 @@ import Language.Haskell.TH.Syntax
31-- config :: Config
31-- config :: Config
32-- config = $$('decodeFile' "config.yaml")
32-- config = $$('decodeFile' "config.yaml")
34decodeFile :: forall a. (Lift a, FromJSON a) => FilePath -> Q (TExp a)
36decodeFile :: forall a. (Lift a, FromJSON a) => FilePath -> Q (TExp a)
35decodeFile path = do
37decodeFile path = do
36 addDependentFile path
38 addDependentFile path