mirror of
https://github.com/barrucadu/dejafu.git
synced 2024-12-18 19:11:37 +03:00
Correctly sort prefixes in next
This commit is contained in:
parent
148cd0a351
commit
15f79088c9
@ -89,7 +89,7 @@ next = go 0 where
|
||||
|
||||
_ -> Nothing
|
||||
|
||||
go' (tid, bpor) = (\(ts,c,b) -> Right (tid:ts, c, b)) <$> next bpor
|
||||
go' (tid, bpor) = (\(ts,c,b) -> Right (tid:ts, c, b)) <$> go tid bpor
|
||||
|
||||
preEmps tid bpor (t:ts) =
|
||||
let rest = preEmps t (fromJust . M.lookup t $ _bdone bpor) ts
|
||||
|
Loading…
Reference in New Issue
Block a user