catala/compiler/lcalc
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
..
ast.ml AST change: more specific application 2023-12-19 17:27:40 +01:00
ast.mli AST change: more specific application 2023-12-19 17:27:40 +01:00
closure_conversion.ml Closure conversion fix 2024-06-21 12:23:01 +02:00
closure_conversion.mli Preserve and propagate types through closure conversion 2024-05-30 17:00:07 +02:00
compile_with_exceptions.ml More precise positions for operators throughout 2024-04-30 16:35:08 +02:00
compile_with_exceptions.mli Improve translation of typing upon dcalc -> lcalc 2024-01-31 19:15:27 +01:00
compile_without_exceptions.ml More precise positions for operators throughout 2024-04-30 16:35:08 +02:00
compile_without_exceptions.mli Improve translation of typing upon dcalc -> lcalc 2024-01-31 19:15:27 +01:00
dune Build: remove unnecessary ppx on dcalc, lcalc 2023-05-17 14:08:32 +02:00
from_dcalc.ml Register the option type in ctx when used in lcalc 2023-12-19 17:30:28 +01:00
from_dcalc.mli Improve translation of typing upon dcalc -> lcalc 2024-01-31 19:15:27 +01:00
lcalc.mld More doc 2023-06-18 16:08:16 +02:00
monomorphize.ml Small code cleanups 2024-06-19 16:10:15 +02:00
monomorphize.mli Simplify monomorphisation, and preserve type annotations 2024-02-06 18:00:25 +01:00
to_ocaml.ml Replace module hashes for external modules 2024-05-28 11:43:50 +02:00
to_ocaml.mli Computation and checking of module hashes 2024-05-28 11:43:50 +02:00