Debian Codegraph @

src/Data/Container/Indexed/Fixpoints/Guarded.agda

raw
1 ------------------------------------------------------------------------
2 -- The Agda standard library
3 --
4 -- Greatest fixpoint for indexed containers - using guardedness
5 ------------------------------------------------------------------------
6
7 {-# OPTIONS --safe --cubical-compatible --guardedness #-}
8
9 module Data.Container.Indexed.Fixpoints.Guarded where
10
11 open import Level using (Level; _⊔_)
12 open import Codata.Musical.M.Indexed using (M)
13 open import Data.Container.Indexed using (Container)
14 open import Relation.Unary using (Pred)
15
16 private
17 variable
18 o c r : Level
19 O : Set o
20
21
22 -- The least fixpoint can be found in `Data.Container`
23
24 open Data.Container.Indexed public
25 using (μ)
26
27 -- This lives in its own module due to its use of guardedness.
28
29 ν : Container O O c r → Pred O _
30 ν = M