mirror of
https://github.com/CatalaLang/catala.git
synced 2024-09-16 14:57:13 +03:00
293bcd3817
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. |
||
---|---|---|
.. | ||
catala_utils | ||
dcalc | ||
desugared | ||
lcalc | ||
literate | ||
plugins | ||
scalc | ||
scopelang | ||
shared_ast | ||
surface | ||
verification | ||
catala_web_interpreter.ml | ||
catala.ml | ||
driver.ml | ||
driver.mli | ||
dune | ||
index.mld | ||
plugin.ml | ||
plugin.mli | ||
tests.ml |