bind expression (:=) instead of let
This commit is contained in:
4
testdata/builtins.monkey
vendored
4
testdata/builtins.monkey
vendored
@@ -1,4 +1,4 @@
|
||||
let xs = [1, 2, 3]
|
||||
xs := [1, 2, 3]
|
||||
len(xs)
|
||||
|
||||
first(xs)
|
||||
@@ -9,5 +9,5 @@ pop(xs)
|
||||
|
||||
len("foo")
|
||||
|
||||
let x = input()
|
||||
x := input()
|
||||
print(x)
|
||||
Reference in New Issue
Block a user