Module Ppxlib.Loc

Located items

type 'a t = 'a Astlib.Location.loc = {
  1. txt : 'a;
  2. loc : Location.t;
}
val txt : 'a t -> 'a
val loc : _ t -> Location.t
val make : loc:Location.t -> 'a -> 'a t
val map : 'a t -> f:('a -> 'b) -> 'b t