mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
1efda5ca22
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). |
||
---|---|---|
.. | ||
ast.ml | ||
ast.mli | ||
dcalc.mld | ||
dune | ||
from_scopelang.ml | ||
from_scopelang.mli | ||
invariants.ml | ||
invariants.mli |