Skip to content

Commit 208d83d

Browse files
committed
order is now a function
1 parent f0a9c7a commit 208d83d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Data/Graph/Inductive/Graph/Properties.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,14 @@ valid_mkGraph_order p (GNEs ns es) = all (equal g)
9393
valid_match :: (Graph gr) => gr a b -> Property
9494
valid_match g = not (isEmpty g) ==> check_match <$> elements (nodes g)
9595
where
96-
order = noNodes g
96+
ordr = noNodes g
9797

9898
check_match n = maybe False check_context mc
9999
where
100100
(mc, g') = match n g
101101

102102
check_context c = (node' c `notElem` nodes g')
103-
&& (noNodes g' == order - 1)
103+
&& (noNodes g' == ordr - 1)
104104
-- Edges were previously in the graph
105105
&& all (elem (node' c) . pre g) (sucC c)
106106
&& all (elem (node' c) . suc g) (preC c)

0 commit comments

Comments
 (0)