lambda
impl
#50
litlighilit
started this conversation in
Ideas
Replies: 1 comment
-
This rewrite is not very simple as common. Its priority is a little low. Above is left as a memo. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In short, lambda with arguments must be implemented via rewrite.
Following are some cases' analysis
assign to a var
Shall register
lhs
to generate proc definition ahead.(as lambda proc in Nim cannot be generics)
used in place (in function call)
Some AST dump:
Beta Was this translation helpful? Give feedback.
All reactions