-
Notifications
You must be signed in to change notification settings - Fork 247
Deprecate Data.List.Relation.Unary.All.Properties.takeWhile⁻
#2522
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
Deprecate Data.List.Relation.Unary.All.Properties.takeWhile⁻
#2522
Conversation
To be honest I would recommend just deprecating
If we were keeping it I would explicitly say what the generalisation is under "Minor improvements". I think there's probably no need to mention the delegation of the proof, as that's not something that is going to affect users?
See above.
I agree this could lead to unsolved metas. But irrelevant if we just deprecate it 😄 |
Data.List.Relation.Unary.All.Properties.takeWhile⁻
Data.List.Relation.Unary.All.Properties.takeWhile⁻
UPDATED: now opt for deprecation Of these only the last point now stands further consideration:
Accordingly will convert to DRAFT while I figure this out. DONE. See most recent commit. UPDATED: I've rolled back to the original simple deprecation. |
If there was a button "Convert PR to an issue", I'd hit it, under a title like "overhaul theory of |
After a bit more detective work... |
Sorry, I'm afraid I don't quite understand why we would do this and where would we put them? |
@MatthewDaggitt I guess I'd been thinking, after @JacquesCarette 's comment:
As to where we'd put them, probably in But it doesn't affect this PR, so happy to punt this discussion downstream. HTH. |
Personally it would be very weird for me for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes in this PR make sense to me.
The discussion, less so. I'm having a hard time extracting exactly what is being proposed from the thread.
@JacquesCarette writes:
At present: nothing beyond what is in the current commits, which I don't plan to add to. In future, the 'issue(s)' identified above may broadly be covered by [ DRY ]:
Discussion:
Followup discussion to #2525 ? |
Right - so the discussion should be moved to an issue, as this is ready to be merged, which I will do now. |
This is a coda to #2520 / #2521 : the type of
takeWhile⁻
is insufficiently general, and generalising it makes the proof trivially delegate to that ofall-takeWhile
; another instance of 'non-linear bindings considered harmful' ...NB. UPDATED: following @MatthewDaggitt 's suggestions below, can now ignore first three items here
CHANGELOG
: underMinor improvements
?takeWhile⁻
now possible? or else ofall-takeWhile
?breaking
, but not clear whether the generalisation may lead tounsolved metas
errors downstream?