Recursion
Closures
With one parameter
With multiple parameters
Without a return value
Function as a parameter
Void function as a parameter
Function as a return value
With multiple statements
Capturing variables
Modifying captured variables
Currying
Recursion
Memoization
Memoization (recursive)
Recursion
This example is in the full version, available in the stores below:
Recipes for Swift
App Store
Code Recipes
App Store
Already bought it? Sign in to your account
Languages
Python
C++
Java
C#
JavaScript
R
Rust
Golang
Delphi
PHP
Ruby
Kotlin
Lua
TypeScript
Clojure
Objective-C