doc: add sample of directly calling a block rvalue

This commit is contained in:
2025-04-03 10:53:27 +01:00
parent e7f6d54fa2
commit ecc886c95a

View File

@@ -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').