Go supports recursive functions. Here’s a classic example. |
|
|
|
|
|
This |
|
|
|
Anonymous functions can also be recursive, but this requires
explicitly declaring a variable with |
|
|
|
Since |
|
|
|
Next example: Range over Built-in Types.