catala/compiler/shared_ast
Louis Gesbert 21cea5c968 Closure conversion fix
Support for manipulating toplevel functions as values was buggy, because the
recursion after eta-expansion would fall into the pattern for a `let..in` and
not do the expected transformation.

The patch explicitely builds the closure in that case, avoiding such issues with
recursion.
2024-06-21 12:23:01 +02:00
..
boundList.ml Generalise the definition of lists of nested binders 2024-02-09 18:33:41 +01:00
boundList.mli Generalise the definition of lists of nested binders 2024-02-09 18:33:41 +01:00
definitions.ml Pass the "external module" info along passes 2024-05-28 11:43:50 +02:00
dune Fix most doc errors 2023-06-02 17:17:45 +02:00
expr.ml Simplify unthunking function ; cleanup warnings in 'make testuite' 2024-04-30 17:56:06 +02:00
expr.mli Simplify unthunking function ; cleanup warnings in 'make testuite' 2024-04-30 17:56:06 +02:00
interpreter.ml Replace module hashes for external modules 2024-05-28 11:43:50 +02:00
interpreter.mli Computation and checking of module hashes 2024-05-28 11:43:50 +02:00
operator.ml More precise positions for operators throughout 2024-04-30 16:35:08 +02:00
operator.mli More precise positions for operators throughout 2024-04-30 16:35:08 +02:00
optimizations.ml More precise positions for operators throughout 2024-04-30 16:35:08 +02:00
optimizations.mli Improve integration of marks into the main AST 2023-05-17 17:37:00 +02:00
print.ml Types printer: use commas rather than * for tuples 2024-06-21 12:16:49 +02:00
print.mli Remove obsolete "except" type from the interpreter 2024-04-29 13:42:40 +02:00
program.ml Pass the "external module" info along passes 2024-05-28 11:43:50 +02:00
program.mli Pass the "external module" info along passes 2024-05-28 11:43:50 +02:00
qident.ml Add some helper functions in a wrapper Map module 2023-07-12 11:51:15 +02:00
qident.mli Some commented code cleanup and clarifications 2023-06-19 16:36:09 +02:00
scope.ml Generalise the definition of lists of nested binders 2024-02-09 18:33:41 +01:00
scope.mli Generalise the definition of lists of nested binders 2024-02-09 18:33:41 +01:00
shared_ast.ml Generalise the definition of lists of nested binders 2024-02-09 18:33:41 +01:00
shared_ast.mld Fix most doc errors 2023-06-02 17:17:45 +02:00
type.ml Computation and checking of module hashes 2024-05-28 11:43:50 +02:00
type.mli Fix hashing of submodule references 2024-05-28 11:43:50 +02:00
typing.ml Refactor suggestions 2024-06-20 15:59:54 +02:00
typing.mli Closure conversion fix 2024-06-21 12:23:01 +02:00
var.ml Preserve and propagate types through closure conversion 2024-05-30 17:00:07 +02:00
var.mli Preserve and propagate types through closure conversion 2024-05-30 17:00:07 +02:00