You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Consider where we can use opaque mechanism to provide abstraction #2136
Maybe now that opaque is implemented in Agda 2.6.4 we should revisit our solution to #1753.
This is exactly the situation that the new opaque mechanism was designed for. What are people's thoughts? Too risky to adopt a cutting edge feature? In v3.0 I would imagine we will be making a lot of definitions opaque in the library?
FWIW, I think there are a few (!?) too many moving targets at the moment for the v2.0 release to incorporate such a new feature, especially as we have delayed and delayed and delayed the release for all kinds of reasons already.
Regarding v3.0, maybe we should be planning for this now, and not anticipating too many v2.x bumps?
Eg, I've been working on a revised version of #2055 which
(BREAKING) makes Relation.Nullary.Decidable.Core.{yes|no} lazier still (and streamlining invert via its dependently-typed version)
(DEPRECATION) lifts Relation.Nullary.Decidable.Core.recompute to Relation.Nullary.Reflects, with knock-on import simplifications
(DEPRECATION) but with widespread knock-on consequences throughout to respond to the first change
plus misc. other overhauls. I don't want to hold anything up trying to argue for this now just because v2.0 will be the titanic breaking release... I think there will be more of those to come in future, and we should plan for that.
Mind you, if @MatthewDaggitt has self-assigned the current issue, we might have a PR for it before the meeting today ;-)
Hmm I was trying, but it turns out there's some subtlety to opaque that I hadn't quite understood. In particular you can only unfold a definition in another opaque block... which means that we'd have to have opaque blocks in the Properties files too...
Maybe I'll leave this one lie for v3.0 as @jamesmckinna suggests.
changed the title [-]Revisit disastorous expansion of rationals[/-][+]Consider where we can use `opaque` mechanism to provide abstraction[/+]on Oct 12, 2023
Activity
Taneb commentedon Oct 12, 2023
I'd love this to be done! Maybe for 2.1 rather than 2.0 though?
MatthewDaggitt commentedon Oct 12, 2023
We can't do it for
v2.1as it'll be a breaking change 😢jamesmckinna commentedon Oct 12, 2023
piano, piano
FWIW, I think there are a few (!?) too many moving targets at the moment for the v2.0 release to incorporate such a new feature, especially as we have delayed and delayed and delayed the release for all kinds of reasons already.
Regarding v3.0, maybe we should be planning for this now, and not anticipating too many v2.x bumps?
jamesmckinna commentedon Oct 12, 2023
Eg, I've been working on a revised version of #2055 which
Relation.Nullary.Decidable.Core.{yes|no}lazier still (and streamlininginvertvia its dependently-typed version)Relation.Nullary.Decidable.Core.recomputetoRelation.Nullary.Reflects, with knock-onimportsimplificationsplus misc. other overhauls. I don't want to hold anything up trying to argue for this now just because v2.0 will be the titanic breaking release... I think there will be more of those to come in future, and we should plan for that.
Mind you, if @MatthewDaggitt has self-assigned the current issue, we might have a PR for it before the meeting today ;-)
MatthewDaggitt commentedon Oct 12, 2023
Hmm I was trying, but it turns out there's some subtlety to
opaquethat I hadn't quite understood. In particular you can onlyunfolda definition in anotheropaqueblock... which means that we'd have to haveopaqueblocks in thePropertiesfiles too...Maybe I'll leave this one lie for v3.0 as @jamesmckinna suggests.
[-]Revisit disastorous expansion of rationals[/-][+]Consider where we can use `opaque` mechanism to provide abstraction[/+]