aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/univ.ml
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2014-12-20 17:06:06 +0100
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2014-12-21 16:07:56 +0100
commit8e1a7e3e6a4c84db18f6fd5334776489015b368d (patch)
tree0f24218e752fd3d16d2c09870c5ed0fdd671bef7 /kernel/univ.ml
parent0c999f02ffcd61fcace0cc2d045056a82992a100 (diff)
Dead code in Univ.
Diffstat (limited to 'kernel/univ.ml')
-rw-r--r--kernel/univ.ml8
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/univ.ml b/kernel/univ.ml
index 8dd733911..6d23d301e 100644
--- a/kernel/univ.ml
+++ b/kernel/univ.ml
@@ -82,7 +82,6 @@ module HList = struct
val hash : t -> int
val nil : t
val cons : elt -> t -> t
- val is_nil : t -> bool
val tip : elt -> t
val fold : (elt -> 'a -> 'a) -> t -> 'a -> 'a
val map : (elt -> elt) -> t -> t
@@ -103,8 +102,6 @@ module HList = struct
let hash = function Nil -> 0 | Cons (_, h, _) -> h
- let is_nil = function Nil -> true | Cons _ -> false
-
let tip e = cons e nil
let rec fold f l accu = match l with
@@ -536,10 +533,6 @@ struct
str "max(" ++ hov 0
(prlist_with_sep pr_comma (Expr.pr_with f) (to_list l)) ++
str ")"
-
- let atom l = match l with
- | Cons (l, _, Nil) -> Some l
- | _ -> None
let is_level l = match l with
| Cons (l, _, Nil) -> Expr.is_level l
@@ -613,7 +606,6 @@ struct
let sup x y = merge_univs x y
let empty = nil
- let is_empty = function Nil -> true | Cons _ -> false
let exists = Huniv.exists