Closures over variables
This commit is contained in:
1 parent
c128c2029e
commit
79d81f4bee
6 files changed
+20
-9
No files matched your search
+1
-1
@@ -140,4 +140,4 @@ def f: . + 1; def g: def g: . + 100; $$f | $$g | $$f; ($$f | $$g), $$g
|
||||
|
||||
[[100,200][] as $x | def f: . + $x; $$f | $$f | $$f]
|
||||
1
|
||||
[300.0, 600.0]
|
||||
[301.0, 601.0]
|
||||
Reference in new issue
Block a user