-
Notifications
You must be signed in to change notification settings - Fork 46
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
lift API tweaks #2
Comments
Also, it seems like it would be much cleaner, and probably better-performing (JuliaLang/julia#1864), just to have Similarly for |
The |
It still isn't quite ideal. The
Note that I avoid the double indirection of having |
Right. Fixed this. |
I would suggest defining it as:
so that:
Function
argument first allows one to usedo
-block syntax withlift
.Type
rather thanDataType
allows functions that return tuples of types.It would eventually be nice to have:
so that you don't need to specify the return type if Julia can infer it. The
return_type
functionality is not in Julia yet, though; see JuliaLang/julia#6692The text was updated successfully, but these errors were encountered: