package catala

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Contains all format functions used to format a Lcalc Catala program representation to a JSON schema describing the corresponding web form.

val to_camel_case : string -> string
val format_struct_field_name_camel_case : Stdlib.Format.formatter -> Shared_ast.StructField.t -> unit
val fmt_tlit : Stdlib.Format.formatter -> Shared_ast.typ_lit -> unit
val fmt_type : Stdlib.Format.formatter -> Shared_ast.typ -> unit
val fmt_struct_properties : Shared_ast.decl_ctx -> Stdlib.Format.formatter -> Shared_ast.StructName.t -> unit
val fmt_definitions : Shared_ast.decl_ctx -> Stdlib.Format.formatter -> (Shared_ast.ScopeName.t * ([< `Dcalc | `Desugared | `Lcalc | `Scopelang ] Shared_ast.any Shared_ast.any Shared_ast.any Shared_ast.any, 'a Shared_ast.mark) Shared_ast.gexpr Shared_ast.scope_body) -> unit
val format_program : Stdlib.Format.formatter -> string -> 'm Lcalc.Ast.program -> unit
OCaml

Innovation. Community. Security.