From a0b48c4d55cd18655d8e79e6d66b0a0a0651fe3d Mon Sep 17 00:00:00 2001 From: Matthieu Sozeau Date: Tue, 23 Jun 2015 17:08:38 +0200 Subject: Share prop/set values in sorts.ml. --- kernel/sorts.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kernel/sorts.ml') diff --git a/kernel/sorts.ml b/kernel/sorts.ml index 6e6f41e821..e2854abfd3 100644 --- a/kernel/sorts.ml +++ b/kernel/sorts.ml @@ -26,8 +26,8 @@ let univ_of_sort = function | Prop Null -> Universe.type0m let sort_of_univ u = - if is_type0m_univ u then Prop Null - else if is_type0_univ u then Prop Pos + if is_type0m_univ u then prop + else if is_type0_univ u then set else Type u let compare s1 s2 = -- cgit v1.2.3