Skip to content

Add documentation for if-else from PR#213 - #45

Open
schoen wants to merge 2 commits into
mainfrom
if-else
Open

Add documentation for if-else from PR#213#45
schoen wants to merge 2 commits into
mainfrom
if-else

Conversation

@schoen

@schoen schoen commented Apr 6, 2026

Copy link
Copy Markdown
Collaborator

This documents the upcoming if-else feature in SimplicityHL.

Pending merge of BlockstreamResearch/SimplicityHL#213.

@schoen schoen changed the title Add documentation for if-else Add documentation for if-else from PR#213 Apr 6, 2026
@imaginator

Copy link
Copy Markdown
Collaborator

This is open for 5 months. Can we close or commit please. This sounds like critical information to have in the site.

@schoen

schoen commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator Author

The functionality that this documents (BlockstreamResearch/SimplicityHL#213) hasn't actually landed in the SimplicityHL project yet.

@stringhandler @apoelstra Any prognosis on when the if-else functionality might land in the language? I haven't looked at the architectural details but this particular feature feels to me like it's not that bound up with complicated type theory issues (for example, there's a very straightforward deterministic translation between this and a match on a bool, and I expect there should continue to be such a translation even if our type system gets richer and more complex).

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.

2 participants