comparison runtime/doc/eval.txt @ 32004:a9b5ffbc0428

Update runtime files. Commit: https://github.com/vim/vim/commit/938ae280c79b8cdb0fca60336ec4c090ecd8bb5a Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 20 20:44:55 2023 +0000 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Mon, 20 Feb 2023 22:00:05 +0100
parents cc751d944b7e
children b2412874362f
comparison
equal deleted inserted replaced
32003:aa9c0f0ebfd0 32004:a9b5ffbc0428
1370 1370
1371 Note that the dot is also used for String concatenation. To avoid confusion 1371 Note that the dot is also used for String concatenation. To avoid confusion
1372 always put spaces around the dot for String concatenation. 1372 always put spaces around the dot for String concatenation.
1373 1373
1374 1374
1375 expr10(expr1, ...) |Funcref| function call *E1085* 1375 expr10(expr1, ...) |Funcref| function call *E1085*
1376 1376
1377 When expr10 is a |Funcref| type variable, invoke the function it refers to. 1377 When expr10 is a |Funcref| type variable, invoke the function it refers to.
1378 1378
1379 1379
1380 expr10->name([args]) method call *method* *->* 1380 expr10->name([args]) method call *method* *->*
1652 See below |functions|. 1652 See below |functions|.
1653 1653
1654 1654
1655 lambda expression *expr-lambda* *lambda* 1655 lambda expression *expr-lambda* *lambda*
1656 ----------------- 1656 -----------------
1657 {args -> expr1} legacy lambda expression *E451* 1657 {args -> expr1} legacy lambda expression *E451*
1658 (args) => expr1 |Vim9| lambda expression 1658 (args) => expr1 |Vim9| lambda expression
1659 1659
1660 A lambda expression creates a new unnamed function which returns the result of 1660 A lambda expression creates a new unnamed function which returns the result of
1661 evaluating |expr1|. Lambda expressions differ from |user-functions| in 1661 evaluating |expr1|. Lambda expressions differ from |user-functions| in
1662 the following ways: 1662 the following ways: