package electrod

  1. Overview
  2. Docs

Module to get source code fragments and show them (in error messages for instance), possibly with colored output

val lines : string option -> Location.t -> string list
val split_string : Containers.String.t -> int -> string * string
val pp : (string * (string list * string)) Fmtc.t
val extract : string option -> Location.t -> string * (string list * string)