[honu] use a local macro inside a where expression
This commit is contained in:
parent
0b3ac2b378
commit
6531ce7547
|
@ -12,3 +12,6 @@ varwhere { printf("x is ~a\n", x)
|
|||
x * 2
|
||||
}
|
||||
} where x = 2 + 1
|
||||
|
||||
varwhere { macro foo(){ z:expression }{ syntax(x + z) }
|
||||
foo 5 } where x = 2 * 8
|
||||
|
|
Loading…
Reference in New Issue
Block a user