Functional Programming
- Functions are objects
- Function is an abstract type
hi(name) {
print("Hello $name");
}
var welcome = hi;
main() {
hi("Foo");
welcome("Bar");
}
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
hi(name) {
print("Hello $name");
}
var welcome = hi;
main() {
hi("Foo");
welcome("Bar");
}