catala/tests/test_array
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
..
bad Clerk: rewrite 'clerk runtest' to use the new lightweight lexer 2023-09-27 13:18:18 +02:00
good Typing defaults: support nested priorities 2023-11-27 11:09:08 +01:00