Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W45.2026 · 2–8 Novocaml/RFCs

Features

  • RFC: Implicit source positions ([%call_loc]) — Open proposal (PR #52, updated 2026-11-06). Introduces a Textloc.t parameter type: a labelled function argument annotated [%call_loc] is auto-filled with the caller's source location. Affects monadic bind tracing, test-framework diagnostics, and embedded-language error reporting. Not merged; implementation exists at Jane Street.
  • Discussion in the RFC addresses API gaps: a line_range accessor for multi-line spans, and lossy conversion from Location.t when a span crosses #line directives into a different file. No cross-file span is representable in the proposed Textloc.t.