Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,12 +1,12 @@
|
|||
extends Node
|
||||
|
||||
func addN(n: int) -> Callable:
|
||||
return func(x):
|
||||
return n + x
|
||||
return func(x):
|
||||
return n + x
|
||||
|
||||
func _ready():
|
||||
# Test currying
|
||||
var add2 := addN(2)
|
||||
print(add2.call(7))
|
||||
# Test currying
|
||||
var add2 := addN(2)
|
||||
print(add2.call(7))
|
||||
|
||||
get_tree().quit() # Exit
|
||||
get_tree().quit() # Exit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue