catala/runtimes/ocaml
Louis Gesbert 293bcd3817 Replace HandleDefault* internal operators by HandleExceptions
HandleExceptions only takes an array of exceptions, and returns Some if only one
of them is Some, None if they are all None, or raises a conflict error
otherwise.

The compilation of default terms then wraps this in a match (for the result of
HandleExceptions), and an if-then-else (for the justification-consequence in the
None case).

This avoids the complexity of having to handle thunked functions as arguments.
2024-07-04 15:08:13 +02:00
..
dune Small ocaml/js output rehaul 2024-02-21 11:28:56 +01:00
runtime.ml Replace HandleDefault* internal operators by HandleExceptions 2024-07-04 15:08:13 +02:00
runtime.mli Replace HandleDefault* internal operators by HandleExceptions 2024-07-04 15:08:13 +02:00