aboutsummaryrefslogtreecommitdiff
path: root/pretyping
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2014-08-09 15:51:21 +0200
committerPierre-Marie Pédrot2014-08-09 15:59:01 +0200
commit56a6727525e860a155b6ae73da152e558b3ea976 (patch)
treed4a2c5e3d64fb5c7bbb409f6c89c61dd23b174b6 /pretyping
parenteec72af81a84f7b56b04027693684eebe139a607 (diff)
Cleaning up interface of ContextSet.
Names and arguments were uniformized, and some functions were redesigned to take their typical use-case into account.
Diffstat (limited to 'pretyping')
-rw-r--r--pretyping/evd.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pretyping/evd.ml b/pretyping/evd.ml
index c60fb29586..c5657cc52d 100644
--- a/pretyping/evd.ml
+++ b/pretyping/evd.ml
@@ -989,7 +989,7 @@ let with_context_set rigid d (a, ctx) =
let uctx_new_univ_variable rigid name
({ uctx_local = ctx; uctx_univ_variables = uvars; uctx_univ_algebraic = avars} as uctx) =
let u = Universes.new_univ_level (Global.current_dirpath ()) in
- let ctx' = Univ.ContextSet.union ctx (Univ.ContextSet.singleton u) in
+ let ctx' = Univ.ContextSet.add_universe u ctx in
let uctx' =
match rigid with
| UnivRigid -> uctx