| 1 |
------------------------------------------------------------------------ |
| 2 |
-- The Agda standard library |
| 3 |
-- |
| 4 |
-- Sized fixpoints of containers, based on the work of Abbott and others |
| 5 |
------------------------------------------------------------------------ |
| 6 |
|
| 7 |
{-# OPTIONS --cubical-compatible --sized-types #-} |
| 8 |
|
| 9 |
module Data.Container.Fixpoints.Sized where |
| 10 |
|
| 11 |
open import Level using (Level; _⊔_) |
| 12 |
open import Size using (Size) |
| 13 |
open import Codata.Sized.M using (M) |
| 14 |
open import Data.W.Sized using (W) |
| 15 |
open import Data.Container hiding (μ) public |
| 16 |
|
| 17 |
private |
| 18 |
variable |
| 19 |
s p : Level |
| 20 |
|
| 21 |
-- The sized least and greatest fixpoints of a container. |
| 22 |
|
| 23 |
μ : Container s p → Size → Set (s ⊔ p) |
| 24 |
μ = W |
| 25 |
|
| 26 |
ν : Container s p → Size → Set (s ⊔ p) |
| 27 |
ν = M |