aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/genarg.mli
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2016-01-17 01:08:21 +0100
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2016-01-17 01:13:23 +0100
commit0d1345ea2423fc418a470786b0b33b80df3a67bc (patch)
tree72aa847e645f0662c9f5241ea1f17ca4107390af /lib/genarg.mli
parent43490147b0749f46eb90ff69c3bbdb3991fb526c (diff)
Temporary commit getting rid of Obj.magic unsafety for Genarg.
This will allow an easier landing of the rewriting of Genarg.
Diffstat (limited to 'lib/genarg.mli')
-rw-r--r--lib/genarg.mli3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/genarg.mli b/lib/genarg.mli
index 56c09f14f..8099c062a 100644
--- a/lib/genarg.mli
+++ b/lib/genarg.mli
@@ -265,6 +265,9 @@ val wit_opt : ('a, 'b, 'c) genarg_type -> ('a option, 'b option, 'c option) gena
val wit_pair : ('a1, 'b1, 'c1) genarg_type -> ('a2, 'b2, 'c2) genarg_type ->
('a1 * 'a2, 'b1 * 'b2, 'c1 * 'c2) genarg_type
+val arg_list : ('a, 'l) abstract_argument_type -> ('a list, 'l) abstract_argument_type
+val arg_opt : ('a, 'l) abstract_argument_type -> ('a option, 'l) abstract_argument_type
+
(** {5 Magic used by the parser} *)
val default_empty_value : ('raw, 'glb, 'top) genarg_type -> 'raw option