diff options
Diffstat (limited to 'src/Obs/Sort.idr')
-rw-r--r-- | src/Obs/Sort.idr | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Obs/Sort.idr b/src/Obs/Sort.idr index 70d5ed2..bbd6975 100644 --- a/src/Obs/Sort.idr +++ b/src/Obs/Sort.idr @@ -43,6 +43,11 @@ suc Prop = Set 0 suc (Set i) = Set (S i) public export +ensureSet : Sort -> Sort +ensureSet Prop = Set 0 +ensureSet (Set i) = Set i + +public export lub : Sort -> Sort -> Sort lub Prop s' = s' lub (Set i) Prop = Set i |