aboutsummaryrefslogtreecommitdiffstats
path: root/src/VeriFuzz/Internal/Gen.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/VeriFuzz/Internal/Gen.hs')
-rw-r--r--src/VeriFuzz/Internal/Gen.hs8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/VeriFuzz/Internal/Gen.hs b/src/VeriFuzz/Internal/Gen.hs
index 6e44524..d821cd7 100644
--- a/src/VeriFuzz/Internal/Gen.hs
+++ b/src/VeriFuzz/Internal/Gen.hs
@@ -24,13 +24,7 @@ fromNode node = T.pack $ "w" <> show node
filterGr :: (Graph gr) => gr n e -> (Node -> Bool) -> [Node]
filterGr graph f = filter f $ G.nodes graph
-only
- :: (Graph gr)
- => gr n e
- -> (gr n e -> Node -> Int)
- -> (gr n e -> Node -> Int)
- -> Node
- -> Bool
+only :: (Graph gr) => gr n e -> (gr n e -> Node -> Int) -> (gr n e -> Node -> Int) -> Node -> Bool
only graph fun1 fun2 n = fun1 graph n == 0 && fun2 graph n /= 0
inputs :: (Graph gr) => gr n e -> [Node]