Skip to content

[ refactor ] Algebra.Morphism wrt re-exports from Algebra.Morphism.Definitions #3035

Description

@jamesmckinna

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!?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions