File tree Expand file tree Collapse file tree 10 files changed +44
-38
lines changed
Expand file tree Collapse file tree 10 files changed +44
-38
lines changed Original file line number Diff line number Diff line change 88
99module IO.Base where
1010
11- open import Level
12- open import Codata.Musical.Notation
13- open import Data.Bool.Base using (Bool; true; false; not)
1411open import Agda.Builtin.Maybe using (Maybe; nothing; just)
12+ open import Codata.Musical.Notation using (♭; ♯_; ∞)
13+ open import Data.Bool.Base using (Bool; true; false; not)
1514open import Data.Sum.Base using (_⊎_; inj₁; inj₂)
16- import Agda.Builtin.Unit as Unit0
17- open import Data.Unit.Polymorphic.Base
15+ open import Data.Unit.Polymorphic.Base using (⊤)
1816open import Function.Base using (_∘′_; const; flip)
19- import IO.Primitive.Core as Prim
17+ open import Level using (Level; Lift; lower; 0ℓ; suc)
18+
19+ import Agda.Builtin.Unit as Unit0 using (⊤)
20+ import IO.Primitive.Core as Prim using (IO; pure; _>>=_; _>>_)
2021
2122private
2223 variable
Original file line number Diff line number Diff line change 88
99module IO.Effectful where
1010
11- open import Level
12- open import Effect.Functor
13- open import Effect.Applicative
14- open import Effect.Monad
11+ open import Level using (Level; _⊔_)
12+ open import Effect.Functor using (RawFunctor)
13+ open import Effect.Applicative using (RawApplicative)
14+ open import Effect.Monad using (RawMonad)
1515
1616open import IO.Base
1717
Original file line number Diff line number Diff line change 88
99module IO.Finite where
1010
11- open import Data.Unit.Polymorphic.Base
12- open import Agda.Builtin.String
13- import Data.Unit.Base as Unit0
14- open import IO.Base
15- import IO.Primitive.Core as Prim
11+ open import Data.Unit.Polymorphic.Base using (⊤)
12+ open import Agda.Builtin.String using (String)
13+ import Data.Unit.Base as Unit0 using (⊤)
14+ open import IO.Base as Base using (IO; lift; lift′)
15+ import IO.Primitive.Core as Prim using (IO; _>>=_; _>>_)
1616import IO.Primitive.Finite as Prim
17- open import Level
17+ using (getLine; readFile; writeFile; appendFile; putStr; putStrLn)
18+ open import Level using (Level; Lift; 0ℓ; suc)
1819
1920private
2021 variable
Original file line number Diff line number Diff line change 88
99module IO.Infinite where
1010
11- open import Codata.Musical.Costring
12- open import Agda.Builtin.String
13- open import Data.Unit.Polymorphic.Base
14- import Data.Unit.Base as Unit0
15- open import IO.Base
16- import IO.Primitive.Core as Prim
11+ open import Codata.Musical.Costring using (Costring)
12+ open import Agda.Builtin.String using (String)
13+ open import Data.Unit.Polymorphic.Base using (⊤)
14+ import Data.Unit.Base as Unit0 using (⊤)
15+ open import IO.Base as Base using (IO; lift; lift′)
16+ import IO.Primitive.Core as Prim using (IO; _>>=_; _>>_)
1717import IO.Primitive.Infinite as Prim
18- open import Level
18+ using (getContents; writeFile; appendFile; putStr; putStrLn)
19+ open import Level using (Level; Lift; 0ℓ; suc)
1920
2021private
2122 variable
Original file line number Diff line number Diff line change 88
99module IO.Instances where
1010
11- open import IO.Base
12- open import Effect.Functor
13- open import Effect.Applicative
14- open import Effect.Monad
15- open import IO.Effectful
11+ open import Effect.Functor using (RawFunctor)
12+ open import Effect.Applicative using (RawApplicative)
13+ open import Effect.Monad using (RawMonad)
14+ open import IO.Base using (IO)
15+ open import IO.Effectful using (functor; applicative; monad)
1616
1717instance
1818 ioFunctor = functor
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ module IO.Primitive.Finite where
1212-- NOTE: the contents of this module should be accessed via `IO` or
1313-- `IO.Finite`.
1414
15- open import Agda.Builtin.IO
16- open import Agda.Builtin.String
15+ open import Agda.Builtin.IO using (IO)
16+ open import Agda.Builtin.String using (String)
1717open import Agda.Builtin.Unit using () renaming (⊤ to Unit)
1818
1919------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ module IO.Primitive.Infinite where
1212-- NOTE: the contents of this module should be accessed via `IO` or
1313-- `IO.Infinite`.
1414
15- open import Codata.Musical.Costring
16- open import Agda.Builtin.String
15+ open import Codata.Musical.Costring using (Costring)
16+ open import Agda.Builtin.String using (String)
1717open import Agda.Builtin.Unit renaming (⊤ to Unit)
1818
1919------------------------------------------------------------------------
Original file line number Diff line number Diff line change 99module Induction.Lexicographic where
1010
1111open import Data.Product.Base using (Σ; _,_; _×_)
12- open import Induction
13- open import Level
12+ open import Induction using (RecStruct; RecursorBuilder; build)
13+ open import Level using (Level; _⊔_)
1414
1515-- The structure of lexicographic induction.
1616
Original file line number Diff line number Diff line change @@ -11,14 +11,17 @@ module Induction.WellFounded where
1111open import Data.Product.Base using (Σ; _,_; proj₁; proj₂)
1212open import Function.Base using (_∘_; flip; _on_)
1313open import Induction
14+ using (RecStruct; RecursorBuilder; Recursor; build
15+ ; SubsetRecursorBuilder; SubsetRecursor; subsetBuild)
1416open import Level using (Level; _⊔_)
1517open import Relation.Binary.Core using (Rel)
1618open import Relation.Binary.Definitions
17- using (Symmetric; Asymmetric; Irreflexive; _Respects₂_;
18- _Respectsʳ_; _Respects_)
19+ using (Symmetric; Asymmetric; Irreflexive
20+ ; _Respects₂_; _Respectsʳ_; _Respects_)
1921open import Relation.Binary.PropositionalEquality.Core using (_≡_; refl)
2022open import Relation.Binary.Consequences using (asym⇒irr)
2123open import Relation.Unary
24+ using (Pred; _⊆′_; _⊆_; _⇒_; Universal; IUniversal; Stable; Empty)
2225open import Relation.Nullary.Negation.Core using (¬_)
2326
2427private
Original file line number Diff line number Diff line change 99module Level.Literals where
1010
1111open import Agda.Builtin.Nat renaming (Nat to ℕ)
12- open import Agda.Builtin.FromNat
13- open import Agda.Builtin.Unit
12+ open import Agda.Builtin.FromNat using (Number)
13+ open import Agda.Builtin.Unit using (⊤)
1414open import Level using (Level; 0ℓ)
1515
1616-- Increase a Level by a number of sucs.
You can’t perform that action at this time.
0 commit comments