doc: add lambda and call-operator sample code

This commit is contained in:
2025-03-26 22:27:24 +00:00
parent b6bfdd0fd1
commit ba1db96be3

14
doc/sample/Blocks.im Normal file
View File

@@ -0,0 +1,14 @@
pkg2 = {
onEnter => [
cout put:'start!'
],
onExit => [
cout put:'end!'
]
}.
x = a(x:5 y:2) + 5.
a + b().
a->b().