fix(sexp): re-export the loc type to the functor's argument's type

This commit is contained in:
Simon Cruanes 2021-04-14 14:57:03 -04:00
parent 375ae27622
commit 5611cbf7f3

View file

@ -23,8 +23,11 @@ module type S = CCSexp_intf.S
This builds a parser and printer for S-expressions represented as
in the [Sexp] argument.
@since 2.7 *)
module Make(Sexp : SEXP) : S with type t = Sexp.t
@since 2.7
@since NEXT_RELEASE re-bind [loc] to [Sexp.loc]
*)
module Make(Sexp : SEXP) : S with type t = Sexp.t and type loc = Sexp.loc
(** {2 Basics} *)