Code: Select all
k := (x) => (y) => x ; k(x, y) takes 2 arguments.
k5 := k(5) ; k5 is a partially applied function.
MsgBox k5[1] ; Recovers the bound argument.
Code: Select all
k := (x) => (y) => x ; k(x, y) takes 2 arguments.
k5 := k(5) ; k5 is a partially applied function.
MsgBox k5[1] ; Recovers the bound argument.
Code: Select all
#Requires AutoHotkey v2.0-a128-f63b0eb4
MsgBox['helloworld']
Return to “Suggestions on Documentation Improvements”
Users browsing this forum: No registered users and 6 guests