docs: High order functions -> Higher-order functions (#10445)

Just using the more standard nomenclature for easier searching
pull/10443/head
Brandon Elam Barker 2021-06-13 14:17:57 -04:00 committed by GitHub
parent e2822356c2
commit 8082261278
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ For more details and troubleshooting, please visit the [vab GitHub repository](h
* [Pure functions by default](#pure-functions-by-default)
* [Mutable arguments](#mutable-arguments)
* [Variable number of arguments](#variable-number-of-arguments)
* [Anonymous & high order functions](#anonymous--high-order-functions)
* [Anonymous & higher-order functions](#anonymous--higher-order-functions)
* [References](#references)
* [Constants](#constants)
* [Builtin functions](#builtin-functions)
@ -1964,7 +1964,7 @@ b := [5, 6, 7]
println(sum(...b)) // output: 18
```
### Anonymous & high order functions
### Anonymous & higher order functions
```v
fn sqr(n int) int {