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

Use UnitRange instead of .. #14

Closed
Roger-luo opened this issue Sep 23, 2018 · 1 comment
Closed

Use UnitRange instead of .. #14

Roger-luo opened this issue Sep 23, 2018 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@Roger-luo
Copy link
Collaborator

For ranged pattern

@match num begin
    1..10  in x => "$x in [1, 10]"
    11..20 in x => "$x in [11, 20]"
    21..30 in x => "$x in [21, 30]"
end

does not looks Julian, use x in 1:10 instead?

@thautwarm thautwarm added this to the 0.2.0 milestone Nov 11, 2018
@thautwarm
Copy link
Owner

done

@thautwarm thautwarm added the enhancement New feature or request label Nov 11, 2018
@thautwarm thautwarm mentioned this issue Nov 11, 2018
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