Skip to content

Commit

Permalink
Convert OOME / DebugE / UBE to using print_msg.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chobbes committed Jul 3, 2023
1 parent 3ca4571 commit b954bbd
Show file tree
Hide file tree
Showing 8 changed files with 5,232 additions and 3,327 deletions.
2 changes: 1 addition & 1 deletion src/coq/Handlers/OOM.v
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ Section PARAMS_INTERP.
Notation Effout := (E +' OOME +' F).

Definition OOM_exec_fail {E} `{FailureE -< E}: OOME ~> itree E :=
fun _ e => match e with | ThrowOOM s => raise ("Abort (OOM): " ++ s) end.
fun _ e => match e with | ThrowOOM tt => raise ("Abort (OOM)") end.

Definition OOM_exec {E} `{OOME -< E} : OOME ~> itree E :=
fun R e => trigger e.
Expand Down
Loading

0 comments on commit b954bbd

Please sign in to comment.