package alba

  1. Overview
  2. Docs

Print in memory source files with error markers.

Parameters

Signature

val print_source_lines : string Sequence.t -> range -> PP.t

print_source_lines lines range Print the source file given as a sequence of lines with line numbers and highlight the region range.

val print_source : string -> range -> PP.t

print_source src range Print the source file given as a string with line numbers and highlight the region range.

OCaml

Innovation. Community. Security.