aboutsummaryrefslogtreecommitdiffhomepage
path: root/tactics/dn.mli
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2014-03-03 03:23:05 +0100
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2014-03-03 03:23:05 +0100
commit3ec4c04b4a2f497cd1b933dbf6b646b923ee6690 (patch)
treee1a70997230748bd5d4fde997dd84b9f7b4f8587 /tactics/dn.mli
parenta13e33bc6b4cf637f0e3b94be15907d50cf48eea (diff)
Term dnets do no need to contain the afferent constr pattern in their nodes.
Diffstat (limited to 'tactics/dn.mli')
-rw-r--r--tactics/dn.mli11
1 files changed, 5 insertions, 6 deletions
diff --git a/tactics/dn.mli b/tactics/dn.mli
index bab925a20..78896ae9a 100644
--- a/tactics/dn.mli
+++ b/tactics/dn.mli
@@ -2,12 +2,11 @@ type 'res lookup_res = Label of 'res | Nothing | Everything
module Make :
- functor (X : Set.OrderedType) ->
functor (Y : Map.OrderedType) ->
functor (Z : Map.OrderedType) ->
sig
- type decompose_fun = X.t -> (Y.t * X.t list) option
+ type 'a decompose_fun = 'a -> (Y.t * 'a list) option
type t
@@ -19,9 +18,9 @@ sig
must decompose any tree into a label characterizing its root node and
the list of its subtree *)
- val add : t -> decompose_fun -> X.t * Z.t -> t
+ val add : t -> 'a decompose_fun -> 'a * Z.t -> t
- val rmv : t -> decompose_fun -> X.t * Z.t -> t
+ val rmv : t -> 'a decompose_fun -> 'a * Z.t -> t
type 'tree lookup_fun = 'tree -> (Y.t * 'tree list) lookup_res
@@ -33,9 +32,9 @@ sig
characterizing its root node and the list of its subtree *)
val lookup : t -> 'term lookup_fun -> 'term
- -> (X.t * Z.t) list
+ -> Z.t list
- val app : ((X.t * Z.t) -> unit) -> t -> unit
+ val app : (Z.t -> unit) -> t -> unit
val skip_arg : int -> t -> (t * bool) list