Julia Programming Language
Evaluate and capture expression result into function/closure body
General Usage
metaprogramming
yuyichao
June 7, 2017, 11:43pm
2
You can splice in a value directly
@eval f() = $a
show post in topic
Related topics
Topic
Replies
Views
Activity
Problem with Macro expression evaluation
New to Julia
9
838
May 17, 2019
Not-so-unusual Macro issues
General Usage
macros
,
metaprogramming
2
409
May 22, 2021
Metaprogramming: how to use variables from enclosing scope?
General Usage
question
11
995
November 24, 2016
Can you avoid using Base.invokelatest in this example?
General Usage
21
2628
July 24, 2022
How to compile Expr to function?
New to Julia
8
975
May 22, 2017