Skip to content

Conversation

@jacquescomeaux
Copy link
Contributor

Fix typo preventing Function.Construct.Constant.function from being as general as possible

@jacquescomeaux jacquescomeaux changed the title Fix universe level typo in Function.Construct.Constant Fix universe level typo in Function.Construct.Constant Oct 23, 2025
Copy link
Member

@gallais gallais left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me; let's see if it leads to some unsolved metas. 😅

-- Setoid bundles

module _ (S : Setoid a ℓ) (T : Setoid b ℓ₂) where
module _ (S : Setoid a ℓ) (T : Setoid b ℓ₂) where
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy with this as well.

The operation is recommended as the replacement for the deprecated Function.Equality.const, which did have a more Level-polymorphic type, so I think that this one should as well.

That said, there do not seem to be any other uses of either operation in stdlib, so it's a bit hard to tell what the client consequences of this might be, but... absent telepathy, not much we can do about that!

@jamesmckinna jamesmckinna added this pull request to the merge queue Oct 25, 2025
@jamesmckinna
Copy link
Contributor

Thanks @jacquescomeaux for your first PR!

Merged via the queue into agda:master with commit bb57f49 Oct 25, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants