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

Support "otherwise" in split #2

Open
ice1000 opened this issue Mar 9, 2019 · 0 comments
Open

Support "otherwise" in split #2

ice1000 opened this issue Mar 9, 2019 · 0 comments
Assignees
Labels
available-in-voile Implemented in Voile first-class split A part of MLPolyR
Milestone

Comments

@ice1000
Copy link
Member

ice1000 commented Mar 9, 2019

Expected syntax:

let threee: U = sum { One | Two | Three };
let three: U = sum { Two | Three };

let three_f (a: U) (m: three): 1 = split { Two => 0 | Three => 0 };
let threee_f (a: U) (m: threee): 1 = split { One => 0 | e => (three_f a) e };
@ice1000 ice1000 added the first-class split A part of MLPolyR label Mar 9, 2019
@ice1000 ice1000 added this to the 0.3.0 milestone Mar 9, 2019
@ice1000 ice1000 self-assigned this Mar 9, 2019
@ice1000 ice1000 added the available-in-voile Implemented in Voile label Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
available-in-voile Implemented in Voile first-class split A part of MLPolyR
Projects
None yet
Development

No branches or pull requests

1 participant