diff options
author | Emilio Jesus Gallego Arias <e+git@x80.org> | 2017-04-08 20:08:01 +0200 |
---|---|---|
committer | Emilio Jesus Gallego Arias <e+git@x80.org> | 2017-04-25 00:30:23 +0200 |
commit | 6eb42e53ffafd9aed3c12805c6a228acccc03827 (patch) | |
tree | b8f58445d3c03754a5514c3dbe36a1b3a502e562 /lib/loc.mli | |
parent | 9122623f2377bfe6aad0d4ea662481992e768201 (diff) |
[location] Document changes.
Diffstat (limited to 'lib/loc.mli')
-rw-r--r-- | lib/loc.mli | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/loc.mli b/lib/loc.mli index 110920d5a..ec79ced5d 100644 --- a/lib/loc.mli +++ b/lib/loc.mli @@ -51,8 +51,11 @@ val raise : ?loc:t -> exn -> 'a type 'a located = t option * 'a (** Embed a location in a type *) -(** Warning, this API is experimental *) +(* We would like in the future: + * type 'a located = private { tag: t option; obj: 'a; } + *) +(** Warning, this API is experimental *) val to_pair : 'a located -> t option * 'a val tag : ?loc:t -> 'a -> 'a located val obj : 'a located -> 'a |