projects
/
SXSI
/
xpathcomp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17afdb3
)
Add variance indicator to type.
author
Kim Nguyễn
<kn@lri.fr>
Thu, 16 Feb 2012 01:46:18 +0000
(
02:46
+0100)
committer
Kim Nguyễn
<kn@lri.fr>
Thu, 16 Feb 2012 01:46:18 +0000
(
02:46
+0100)
src/node.ml
patch
|
blob
|
history
src/node.mli
patch
|
blob
|
history
diff --git
a/src/node.ml
b/src/node.ml
index
78f0899
..
abf75a4
100644
(file)
--- a/
src/node.ml
+++ b/
src/node.ml
@@
-1,4
+1,4
@@
-type 'a t = int
+type
+
'a t = int
let nil = ~-1
diff --git
a/src/node.mli
b/src/node.mli
index
2aecb70
..
84472ac
100644
(file)
--- a/
src/node.mli
+++ b/
src/node.mli
@@
-1,4
+1,4
@@
-type 'a t = private int
+type
+
'a t = private int
val nil : 'a t
val null : 'a t
val is_nil : 'a t -> bool