package ppxlib

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

Source file loc.ml

1
2
3
4
5
6
7
8
9
10
11
12
open! Import

type 'a t = 'a loc =
  { txt : 'a
  ; loc : Location.t
  }

let txt t = t.txt
let loc t = t.loc

let make ~loc txt = { loc; txt }
let map t ~f = { t with txt = f t.txt }
OCaml

Innovation. Community. Security.