Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
the following syntax: data[] Bool { #True:Bool #False:Bool }: Bool will desugar to: $(s: Bool) data[] Bool { #True:Bool #False:Bool } the extra self type is useful for equality, for the reasons below: https://gist.github.com/VictorTaelin/3f748a46e95071e29462b1ac93c294c5
- Loading branch information