catala/compiler/lcalc
Louis Gesbert 12ec65601d Use format strings directly in debug/error/log functions
This avoids many intermediate calls to e.g. `Format.asprintf`; should result in
some cases in "more correct" use of `Format`¹, avoid the computation of unused
debug strings, and make the code more readable.

¹ for `Format` to work as expected, all intermediate calls need to go through
it. Some cases of formatting to an intermediate string then printing through Format
again are still present, but this makes the situation better.
2022-03-08 13:04:27 +01:00
..
ast.ml Correct types for make_some and make_none 2022-02-24 16:50:01 +01:00
ast.mli review of lcalc 2022-02-18 15:47:54 +01:00
backends.ml Working the way into the Python backend 2021-06-22 14:55:43 +02:00
backends.mli .mlis and ocamldoc [skip-ci] 2022-01-18 15:13:16 +01:00
compile_with_exceptions.ml Improve printing 2022-02-14 17:01:34 +01:00
compile_with_exceptions.mli fmt 2022-02-18 15:49:23 +01:00
compile_without_exceptions.ml Use format strings directly in debug/error/log functions 2022-03-08 13:04:27 +01:00
compile_without_exceptions.mli more comment 2022-02-18 15:59:35 +01:00
dune review of lcalc 2022-02-18 15:47:54 +01:00
lcalc.mld Link to modules in the docs 2022-02-14 18:27:29 +01:00
optimizations.ml fmt 2022-02-18 15:49:23 +01:00
optimizations.mli Big renaming and dir reorg 2021-06-21 11:39:06 +02:00
print.ml Adapt translation to new i/o invariants, bug discovered 2022-02-15 11:38:56 +01:00
print.mli Pretty-printer for scalc 2022-02-14 18:22:26 +01:00
to_ocaml.ml Use format strings directly in debug/error/log functions 2022-03-08 13:04:27 +01:00
to_ocaml.mli Big renaming and dir reorg 2021-06-21 11:39:06 +02:00