package alba

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

Pretty printer for some standard messages needed by the Alba compiler.

E.g.

  • Error header
  • Source files with error markers

Parameters

Signature

val print_error_header : string -> PP.t
val print_source : string -> range -> int list -> PP.t

print_source source_string range error_tabs

Print the source string with line numbers and put error markers around range. End the printing at the end of range.

Add tab positions for the error tabs.

val print_source_lines : string Fmlib.Sequence.t -> range -> int list -> PP.t
OCaml

Innovation. Community. Security.