Lcalc.To_ocamlval renaming : Shared_ast.Renaming.tFormats a lambda calculus program into a valid OCaml program
val typ_needs_parens : Shared_ast.typ -> boolval format_enum_name : Stdlib.Format.formatter -> Shared_ast.EnumName.t -> unitval format_enum_cons_name :
Stdlib.Format.formatter ->
Shared_ast.EnumConstructor.t ->
unitval format_struct_name :
Stdlib.Format.formatter ->
Shared_ast.StructName.t ->
unitval format_struct_field_name :
Stdlib.Format.formatter ->
(Shared_ast.StructName.t option * Shared_ast.StructField.t) ->
unitval format_to_module_name :
Stdlib.Format.formatter ->
[< `Ename of Shared_ast.EnumName.t | `Sname of Shared_ast.StructName.t ] ->
unitval format_var : Stdlib.Format.formatter -> 'm Shared_ast.Var.t -> unitval format_program :
Catala_utils.File.t option ->
Stdlib.Format.formatter ->
hashf:(Catala_utils.Hash.t -> Catala_utils.Hash.full) ->
'm Ast.program ->
Shared_ast.TypeIdent.t list ->
unitUsage format_program get_fmt p type_dependencies_ordering. Either one of these may be set