You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For instance, if we want to specify bind values to local variables in the generated body, we can firstly create a dummy function and specify arguments which will be bound to our values.
@ggfunctionf(M::Module, a, b)
c =1
fun =mk_function(M, :(function (a, b, c)
...end))
body =from_type(_get_body(fun))
quotelet c =$c
$body
endendend
The text was updated successfully, but these errors were encountered:
_get_body
extracts the type encoding of the body of GG functions.This is very useful to control scopes.
For instance, if we want to specify bind values to local variables in the generated body, we can firstly create a dummy function and specify arguments which will be bound to our values.
The text was updated successfully, but these errors were encountered: