aboutsummaryrefslogtreecommitdiff
path: root/src/Data/Array/Nested/Internal/Arith/Lists
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data/Array/Nested/Internal/Arith/Lists')
-rw-r--r--src/Data/Array/Nested/Internal/Arith/Lists/TH.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Data/Array/Nested/Internal/Arith/Lists/TH.hs b/src/Data/Array/Nested/Internal/Arith/Lists/TH.hs
index b40a066..7142dfa 100644
--- a/src/Data/Array/Nested/Internal/Arith/Lists/TH.hs
+++ b/src/Data/Array/Nested/Internal/Arith/Lists/TH.hs
@@ -6,6 +6,7 @@ import Control.Monad.IO.Class
import Data.Maybe
import Foreign.C.Types
import Language.Haskell.TH
+import Language.Haskell.TH.Syntax
import Text.Read
@@ -17,6 +18,7 @@ readArithLists :: OpKind
-> ([a] -> Q r)
-> Q r
readArithLists targetkind fop fcombine = do
+ addDependentFile "cbits/arith_lists.h"
lns <- liftIO $ lines <$> readFile "cbits/arith_lists.h"
mvals <- forM lns $ \line -> do