catala/compiler/lcalc
Louis Gesbert 1efda5ca22 Typing defaults: support nested priorities
The way nested priorities are encoded use `< < excs | true :- nested > :- x >`,
which imply that `nested` can actually be ∅ ; to cope with this, the typing of
default terms is made more generic (the return type is now the same as the
`cons` type `'a`, rather than `<'a>`). For the general case, we add an explicit
`EPureDefault` node which just encapsulates its argument (a `return`, in monad
terminology).
2023-11-27 11:09:08 +01:00
..
ast.ml Reformat 2023-08-31 17:55:36 +02:00
ast.mli Improve integration of marks into the main AST 2023-05-17 17:37:00 +02:00
closure_conversion.ml Adjust plugins and warnings 2023-11-27 11:06:16 +01:00
closure_conversion.mli More doc 2023-06-18 16:08:16 +02:00
compile_with_exceptions.ml Typing defaults: support nested priorities 2023-11-27 11:09:08 +01:00
compile_with_exceptions.mli Porting the interpreter to the marked AST 2022-07-11 17:42:30 +02:00
compile_without_exceptions.ml Typing defaults: support nested priorities 2023-11-27 11:09:08 +01:00
compile_without_exceptions.mli finished the implementation, but a few issues are missing 2023-03-13 16:51:06 +01:00
dune Build: remove unnecessary ppx on dcalc, lcalc 2023-05-17 14:08:32 +02:00
from_dcalc.ml documentation 2023-04-04 17:02:26 +02:00
from_dcalc.mli documentation 2023-04-04 17:02:26 +02:00
lcalc.mld More doc 2023-06-18 16:08:16 +02:00
to_ocaml.ml Adjust plugins and warnings 2023-11-27 11:06:16 +01:00
to_ocaml.mli Improve handling of module name definitions 2023-09-27 13:14:03 +02:00