Skip to content

Commit

Permalink
relaxed test in CHR machinery for re-application of rule
Browse files Browse the repository at this point in the history
  • Loading branch information
atzedijkstra committed Nov 1, 2007
1 parent 006aa12 commit da0d2d4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions EHC/src/ehc/CHR/Solve.chs
Expand Up @@ -329,8 +329,9 @@ chrSolve'' env chrStore cnstrs prevState
>-< "workkeys" >#< ppBracketsCommas (map ppTrieKey keys)
>-< "worktrie" >#< wlTrie wl
>-< "schr" >#< schr
>-< "usedin" >#< (ppBracketsCommasV $ map (\(k,s) -> ppTrieKey k >#< ppBracketsCommas (map ppUsedByKey $ Set.toList s)) $ Map.toList $ wlUsedIn wl)
>-< "usedin'" >#< (ppBracketsCommasV $ map (\(k,s) -> ppTrieKey k >#< ppBracketsCommas (map ppUsedByKey $ Set.toList s)) $ Map.toList $ wlUsedIn wl')
>-< "usedin" >#< (ppBracketsCommasV $ map (\(k,s) -> ppKs k >#< ppBracketsCommas (map ppUsedByKey $ Set.toList s)) $ Map.toList $ wlUsedIn wl)
>-< "usedin'" >#< (ppBracketsCommasV $ map (\(k,s) -> ppKs k >#< ppBracketsCommas (map ppUsedByKey $ Set.toList s)) $ Map.toList $ wlUsedIn wl')
where ppKs ks = ppBracketsCommas $ map ppTrieKey $ Set.toList ks
%%][100
%%]]
expandMatch st _
Expand Down

0 comments on commit da0d2d4

Please sign in to comment.