Skip to content

Commit

Permalink
Make breakdown total by throwing exception if impossible case happens
Browse files Browse the repository at this point in the history
  • Loading branch information
ayberkt committed Jul 10, 2017
1 parent 6a677a7 commit fae6152
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ljt.sml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ structure LJT = struct
OneInf (DisjR2, breakdown (G || [] ===> B), goal))
end
| breakdown (G || [] ===> C) = searchSync G C
| breakdown _ = raise Fail "breakdown case not supposed to happen"

and searchSync G C =
case getSome (eliminate C) (allCtxs G) of
Expand Down

0 comments on commit fae6152

Please sign in to comment.