Skip to content

[feat] support for multiple subjects #535

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

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open

[feat] support for multiple subjects #535

wants to merge 24 commits into from

Conversation

gares
Copy link
Member

@gares gares commented Apr 28, 2025

No description provided.

Co-Authored-by: ptorrx <[email protected]>
@gares gares marked this pull request as ready for review April 29, 2025 20:41
Comment on lines +729 to +732

% hack
std.forall {std.iota 20} (x\begin-section "x",end-section),

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this hack for??

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have to announce the sections we open/close. And statically I don't know.

Unfortunately coq lacks the notion of irrelevant synterp actions, even if our sections don't interfere with parsing they could.

@gares
Copy link
Member Author

gares commented May 16, 2025

@CohenCyril commit 64966fd is not wrapper specific and seems to fix a limitation of HB.saturate, that was always applying the key to too many arguments.

"Foo.Build T extra" is like "Foo.Axioms T _ extra" but
before typing "extra" it ensures/infers that T has the
needed structue, eg "Foo.Axioms T T__hasThis extra"
In turn this can make the typing of "extra" simpler since
the _ could occur in the expected type of "extra".
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.

3 participants