Don't make ids for empty output tokens
This commit is contained in:
parent
6ecb577402
commit
5e73358df7
|
@ -76,9 +76,7 @@ runFunctionIO :: FunctionIO -> Token a -> DepGenM' b
|
||||||
runFunctionIO f input = genDependency (makeDependency input (FunctionIO f))
|
runFunctionIO f input = genDependency (makeDependency input (FunctionIO f))
|
||||||
|
|
||||||
runFunctionIO' :: FunctionIO -> Token a -> DepGenM ()
|
runFunctionIO' :: FunctionIO -> Token a -> DepGenM ()
|
||||||
runFunctionIO' f input = do
|
runFunctionIO' f input = tellDep $ makeDependency input (FunctionIO f) NoToken
|
||||||
_ <- runFunctionIO f input
|
|
||||||
pure ()
|
|
||||||
|
|
||||||
mapDepGenM :: (Token a -> DepGenM' b) -> Token [a] -> DepGenM' [b]
|
mapDepGenM :: (Token a -> DepGenM' b) -> Token [a] -> DepGenM' [b]
|
||||||
mapDepGenM f input = genDependencyM $ \target -> do
|
mapDepGenM f input = genDependencyM $ \target -> do
|
||||||
|
|
Loading…
Reference in New Issue