| 1 |
------------------------------------------------------------------------ |
| 2 |
-- The Agda standard library |
| 3 |
-- |
| 4 |
-- Universes |
| 5 |
------------------------------------------------------------------------ |
| 6 |
|
| 7 |
{-# OPTIONS --cubical-compatible --safe #-} |
| 8 |
|
| 9 |
module Data.Universe where |
| 10 |
|
| 11 |
open import Level |
| 12 |
|
| 13 |
------------------------------------------------------------------------ |
| 14 |
-- Definition |
| 15 |
|
| 16 |
record Universe u e : Set (suc (u ⊔ e)) where |
| 17 |
field |
| 18 |
U : Set u -- Codes. |
| 19 |
El : U → Set e -- Decoding function. |