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

feat: show parents' parameters for structures #234

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Conversation

kmill
Copy link
Contributor

@kmill kmill commented Nov 14, 2024

Pretty prints parents in the extends clause to include parameters. For example, now we see class Monad (m : Type u → Type v) extends Applicative m, Bind m rather than class Monad (m : Type u → Type v) extends Applicative , Bind. Closes #139.

Fixes a whitespace bug for the extends list. Now it's extends A, B, C instead of extends A , B , C. Also fixes a bug introduced in #232 where the links to inherited fields were incorrect.

Pretty prints parents in the `extends` clause to include parameters.

Fixes a whitespace bug for the `extends` list. Now it's `extends A, B, C` instead of `extends A , B , C`. Also fixes a bug introduced in #232 where the links to inherited fields were incorrect.
@hargoniX hargoniX merged commit b41ee51 into main Nov 14, 2024
1 check passed
@kmill kmill deleted the kmill_extends_pretty branch November 14, 2024 21:01
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.

Recover information about arguments of structures that we extend from
2 participants