diff --git a/doc/source/reference/language/functions.rst b/doc/source/reference/language/functions.rst index c66fc24..4323d61 100644 --- a/doc/source/reference/language/functions.rst +++ b/doc/source/reference/language/functions.rst @@ -196,7 +196,7 @@ Lambda Expressions exp := '@' '(' paramlist ')' exp -Lambda expressions are a synctactic sugar to quickly define a function that consists of a single expression. +Lambda expressions are a syntactic sugar to quickly define a function that consists of a single expression. This feature comes handy when functional programming patterns are applied, like map/reduce or passing a compare method to array.sort().