doc: add sample of directly calling a block rvalue
This commit is contained in:
@@ -12,3 +12,4 @@ pkg2 = {
|
|||||||
x = a(x:5 y:2) + 5.
|
x = a(x:5 y:2) + 5.
|
||||||
a + b().
|
a + b().
|
||||||
a->b().
|
a->b().
|
||||||
|
b = [ :x | cout put:'hello, {x}' ](:'John').
|
||||||
|
|||||||
Reference in New Issue
Block a user