-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why is Data.List.Relation.Binary.Subset.Setoid.Properties
not parametrized on the Setoid
as a whole
#2397
Comments
This tends to be for historical reasons rather than any 'good' reason. Evolution of the library happens haphazardly sometimes (no matter how hard we try to review PRs). In other words, I'd call this a plain bug awaiting a PR to fix it. |
No, there's a good reason for all such |
But as @omelkonian writes on #2389 , this is not the case for eg Ditto. The proposed addition in #2393 ...? |
Is this design principle documented anywhere? |
Yes that should really be fixed.
No, sadly not 😓 |
Module
Data.List.Relation.Binary.Subset.Setoid
is parametrized on aSetoid
, but its Properties module not:agda-stdlib/src/Data/List/Relation/Binary/Subset/Setoid/Properties.agda
Line 9 in bfd7a7b
Instead, each function is parametrized there individually, via anonymous modules.
Is there a reason why it is organized like this?
I would have expected to open the Properties module in the same way as its parent module.
⊆-refl
in Agda 2.6.4.3 agda#7294The text was updated successfully, but these errors were encountered: