-
Notifications
You must be signed in to change notification settings - Fork 846
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
可以提供形如 var in [1, 2, 3]这样的表达式吗? #4
Comments
你的意思是字面量(literal) 级别的数组支持? |
目前是不支持的,可以支持下。 |
对,支持字面量的集合, 这样也行 |
hello,考虑下来,其实没有必要提供直接支持,你只要自定义一个 list 函数 ,返回一个数组或者List即可: seq.incldue(list(1,2,3), 3) |
更进一步,map 之类的也可以加下。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
目前提供了基本的逻辑运算符, 但在实际使用中经常有这种场景:
或者还有其他简便的方法我没看到?
The text was updated successfully, but these errors were encountered: