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

Non-finite internal branching #3

Open
YaZko opened this issue Feb 12, 2022 · 1 comment
Open

Non-finite internal branching #3

YaZko opened this issue Feb 12, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@YaZko
Copy link
Contributor

YaZko commented Feb 12, 2022

We currently restrict internal branching to finite branching, indexed by Fin types.
This is a clear restriction, and an immediate blocking point in experimental applications investigated by @nchappe.

Two possibilities:

  • Allow for indexation by either a Fin type, or by nat
  • Allow for indexation by an arbitrary type. In this case, the indexes used by a given computation must become a parameter of the datatype, similar to E for external interactions.

Exposing statically the indexes used in the second solution is mandatory if any notion akin to interpretation of internal non-determinism is to be defined in the future (and it shall!).

@YaZko YaZko added the enhancement New feature or request label Feb 12, 2022
@YaZko YaZko self-assigned this Feb 12, 2022
@YaZko
Copy link
Contributor Author

YaZko commented Apr 14, 2022

See the branch choice-gen by @nchappe which addresses this issue.

We plan on merging it to master eventually, but probably not before a first 1.0 without it is stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants