aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel
diff options
context:
space:
mode:
authorGravatar Matej Kosik <m4tej.kosik@gmail.com>2016-08-11 12:41:08 +0200
committerGravatar Matej Kosik <m4tej.kosik@gmail.com>2016-08-11 12:51:22 +0200
commit4b24bb7d3b770592015c264001b9aed9fe95c200 (patch)
tree30f67612fffa280730286869c73f66f5d493df41 /kernel
parentadc68c671e73faa80808521e132460d3a9ff94f0 (diff)
CLEANUP: removing the definition of the "Context.Rel.Declaration.to_tuple" function
Diffstat (limited to 'kernel')
-rw-r--r--kernel/context.ml4
-rw-r--r--kernel/context.mli1
2 files changed, 0 insertions, 5 deletions
diff --git a/kernel/context.ml b/kernel/context.ml
index 4e53b73a2..2b6bc34f9 100644
--- a/kernel/context.ml
+++ b/kernel/context.ml
@@ -143,10 +143,6 @@ struct
| LocalAssum (n,ty) -> f ty acc
| LocalDef (n,v,ty) -> f ty (f v acc)
- let to_tuple = function
- | LocalAssum (na, ty) -> na, None, ty
- | LocalDef (na, v, ty) -> na, Some v, ty
-
let of_tuple = function
| n, None, ty -> LocalAssum (n,ty)
| n, Some v, ty -> LocalDef (n,v,ty)
diff --git a/kernel/context.mli b/kernel/context.mli
index b5f3904d2..6fce1b95a 100644
--- a/kernel/context.mli
+++ b/kernel/context.mli
@@ -81,7 +81,6 @@ sig
(** Reduce all terms in a given declaration to a single value. *)
val fold : (Constr.t -> 'a -> 'a) -> t -> 'a -> 'a
- val to_tuple : t -> Name.t * Constr.t option * Constr.t
val of_tuple : Name.t * Constr.t option * Constr.t -> t
end