package ocaml-solo5

  1. Overview
  2. Docs
OCaml cross-compiler to the freestanding Solo5 backend

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v1.3.3.tar.gz
md5=47876167068345542f49279e8fd28896
sha512=272081ec51a6ed69c08e4e8fa64fee3df53fd84c66c0c07a653891c88b342cf74553e1c95711e4fbc18922c899a3448a649f3bd9858f8d89cae834ad2b67fffb

doc/compiler-libs.toplevel/Topprinters/index.html

Module Topprinters

type kind =
  1. | Old of Types.type_expr
  2. | Simple of Types.type_expr
  3. | Generic of {
    1. ty_path : Path.t;
    2. arity : int;
    }
type error = [
  1. | `Unbound_identifier of Longident.t
  2. | `Wrong_type of Longident.t
  3. | `No_active_printer of Path.t
]
val find_printer : Env.t -> Longident.t -> (Path.t * kind, error) result
val report_error : Format.formatter -> error -> unit
val install : (Env.t -> Path.t -> Obj.t) -> Env.t -> Longident.t -> (unit, error) result
val remove : Env.t -> Longident.t -> (unit, error) result