mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
2823795f9f
As part of making tuples first-class citizens, expliciting the arity upon function application was needed (so that a function of two args can transparently -- in the surface language -- be applied to either two arguments or a pair). It was decided to actually explicit the whole type of arguments because the cost is the same, and this is consistent with lambda definitions. A related change done here is the replacement of the `EOp` node for operators by an "operator application" `EAppOp` node, enforcing a pervasive invariant that operators are always directly applied. This makes matches terser, and highlights the fact that the treatment of operator application is almost always different from function application in practice. |
||
---|---|---|
.. | ||
ast.ml | ||
ast.mli | ||
closure_conversion.ml | ||
closure_conversion.mli | ||
compile_with_exceptions.ml | ||
compile_with_exceptions.mli | ||
compile_without_exceptions.ml | ||
compile_without_exceptions.mli | ||
dune | ||
from_dcalc.ml | ||
from_dcalc.mli | ||
lcalc.mld | ||
to_ocaml.ml | ||
to_ocaml.mli |