Skip to content

Commit

Permalink
address nits
Browse files Browse the repository at this point in the history
  • Loading branch information
oskgo committed Feb 17, 2025
1 parent ad8d7a7 commit 0618391
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/ecHiGoal.ml
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,12 @@ let process_clear (info : clear_info) tc =
fst (LDecl.by_name (unloc s) hyps)
in
match info with
| `Include symbols -> (
| `Include symbols -> begin
try t_clears (List.map toid symbols) tc
with (ClearError _) as err -> tc_error_exn !!tc err)
| `Exclude symbols -> let try_clear tc id =
(try t_clear1 id tc
with (ClearError _) -> tc) in
with (ClearError _) as err -> tc_error_exn !!tc err
end
| `Exclude symbols ->
let try_clear tc id = try t_clear1 id tc with (ClearError _) -> tc in
let excluded = List.map toid symbols in
let hyp_ids = List.map fst (LDecl.tohyps hyps).h_local in
let clear_list = List.filter (fun x -> not (List.mem x excluded)) hyp_ids in
Expand Down

0 comments on commit 0618391

Please sign in to comment.