From 8082261278f5c19706c04b0146582b9c6c0f83c4 Mon Sep 17 00:00:00 2001 From: Brandon Elam Barker Date: Sun, 13 Jun 2021 14:17:57 -0400 Subject: [PATCH] docs: High order functions -> Higher-order functions (#10445) Just using the more standard nomenclature for easier searching --- doc/docs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/docs.md b/doc/docs.md index 34ba75ba71..c948849c5f 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -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 {