Reviewing #3034 made my head spin when I came (back) to Algebra.Morphism, the salient parts of which are given by
|
------------------------------------------------------------------------ |
|
-- Re-export |
|
|
|
module Definitions {a b ℓ₁} (A : Set a) (B : Set b) (_≈_ : Rel B ℓ₁) where |
|
open MorphismDefinitions A B _≈_ public |
|
|
|
open import Algebra.Morphism.Structures public |
|
|
AFAICT, this re-export of Definitions acts solely to reparametrise the module Algebra.Morphism.Definitions in prenex form wrt its implicit arguments (and to 'rename' Definitions as ... Definitions!?)
Accordingly, suggest refactoring:
- to use
variables in Algebra.Morphism.Definitions
- to handle the re-export in
Algebra.Morphism as
open import Algebra.Morphism.Definitions public as Definitions
- and to handle the knock-ons from these changes.
Unless there is something even-more-subtle I have failed to understand about module parameterisation!?
Reviewing #3034 made my head spin when I came (back) to
Algebra.Morphism, the salient parts of which are given byagda-stdlib/src/Algebra/Morphism.agda
Lines 24 to 31 in 7e77c5c
AFAICT, this re-export of
Definitionsacts solely to reparametrise the moduleAlgebra.Morphism.Definitionsin prenex form wrt its implicit arguments (and to 'rename'Definitionsas ...Definitions!?)Accordingly, suggest refactoring:
variables inAlgebra.Morphism.DefinitionsAlgebra.MorphismasUnless there is something even-more-subtle I have failed to understand about module parameterisation!?