catala/compiler/shared_ast
Louis Gesbert 42b8adb968 Add a duration / duration overload
Interstingly enough, it was already implemented in the Python backend.

Required to implement *pro rata temporis*, which the US tax section 121 does
make use of.

Only allowed for durations expressed in days (as returned by `<date> - <date>`),
of course.
2023-03-08 15:17:58 +01:00
..
definitions.ml Add a duration / duration overload 2023-03-08 15:17:58 +01:00
dune Rename utils to catala_utils 2022-11-28 16:38:09 +01:00
expr.ml style 2023-02-22 12:11:42 +01:00
expr.mli Allow ETuple, ETupleAccess on all ASTs 2023-02-13 10:51:42 +01:00
operator.ml Add a duration / duration overload 2023-03-08 15:17:58 +01:00
operator.mli Clarify some bits of the overload handling code 2022-12-13 12:00:05 +01:00
print.ml Add a duration / duration overload 2023-03-08 15:17:58 +01:00
print.mli Add overloaded operators for the common operations 2022-12-13 11:55:24 +01:00
program.ml Toplevel definitions: branch cleanup 2023-02-13 18:02:09 +01:00
program.mli AST refactoring 2022-11-17 18:16:09 +01:00
scope.ml - [x] shared_ast 2023-02-20 15:57:42 +01:00
scope.mli Toplevel definitions: branch cleanup 2023-02-13 18:02:09 +01:00
shared_ast.ml Add overloaded operators for the common operations 2022-12-13 11:55:24 +01:00
shared_ast.mld Rename marked_expr -> expr, expr -> naked_expr throughout 2022-08-29 11:29:23 +02:00
type.ml - [ ] shared_ast 2023-02-20 15:57:42 +01:00
type.mli - [x] shared_ast 2023-02-20 15:57:42 +01:00
typing.ml style 2023-02-22 12:11:42 +01:00
typing.mli Toplevel definitions: branch cleanup 2023-02-13 18:02:09 +01:00
var.ml Make all supertypes use ('a, 't) gexpr as parameter instead of naked_gexpr 2022-08-29 11:29:24 +02:00
var.mli Make all supertypes use ('a, 't) gexpr as parameter instead of naked_gexpr 2022-08-29 11:29:24 +02:00