Skip to content
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

A followup on the Top view #1923 #2100

Closed
wants to merge 17 commits into from

Conversation

jamesmckinna
Copy link
Contributor

@jamesmckinna jamesmckinna commented Sep 17, 2023

NOW: rebased to make direct use of #1923's Top view.

@jamesmckinna
Copy link
Contributor Author

Hmmm, that all went swimmingly, save for the seeming re-addition/committal of Data.Fin.Relation.Unary.Top after the rebase... will attempt to cherry-pick my way out of there. But failing that, I could always rebase jamesmckinna:top-view and try to merge from there.

Anyway: now the definitions don't use Instances, but do streamline away all the pointless not-equal-to reasoning that went before in the definition and properties of lower₁... so please consider as candidate refactoring... ;-)

@jamesmckinna jamesmckinna marked this pull request as ready for review September 18, 2023 05:59
@gallais
Copy link
Member

gallais commented Sep 18, 2023

will attempt to cherry-pick my way out of there

No need to bother. If the diff is correct then it's fine: we'll squash the PR when merging anyways!

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!

@jamesmckinna
Copy link
Contributor Author

So the only outstanding question(s) would be:

  • which of lower₁ or inject₁⁻¹ belongs in README.Data.Fin.Relation.Unary.Top, or both (basically exporting them over from Lower, and removing that module; or leaving lower₁ in Lower, and inject₁⁻¹ in Top etc.)?
  • do we refactor Data.Fin.Properties now to use the Top view directly? (probably: not this time?)
  • can we do similar to Data.Fin.Base (this would I think involve in-lining the view in that module, so maybe not?) to be able to define opposite and lower₁ directly...?

@jamesmckinna
Copy link
Contributor Author

Last few commits are perhaps a little... eccentric. Suggest I/we sit on this one for a while... it was me trying to advance an agenda of 'refactor Data.Fin.Base/Properties to simplify certain definitions and proofs', as well as propagandising about views... so a period of reflection is (probably) in order ;-)

@MatthewDaggitt MatthewDaggitt added this to the v2.1 milestone Oct 5, 2023
@jamesmckinna jamesmckinna marked this pull request as draft November 25, 2023 14:26
@jamesmckinna
Copy link
Contributor Author

I haven't managed to return to this for the last six months, and I think I don't see myself being able to in the immediate future, so closing for the time being. I may return to it at a later date, but I suspect it's milestone:v3.0, if ever.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants