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 | ||
dependency.ml | ||
dependency.mli | ||
desugared.mld | ||
disambiguate.ml | ||
disambiguate.mli | ||
dune | ||
from_surface.ml | ||
from_surface.mli | ||
linting.ml | ||
linting.mli | ||
name_resolution.ml | ||
name_resolution.mli | ||
print.ml | ||
print.mli |