Saturday, October 14, 2023

Re: Are function evaluated at Lambda declaration ?

Hi,

On Sat, Oct 14, 2023 at 9:05 AM Nicolas <nivaemail@gmail.com> wrote:
Hi,

Is this line declaration in vim9script evaluate the LogX_FOOBAR function or not ?


  var LambdDetectInLine: func = function('LogX_FOOBAR',
                                      [ LogX.pattern.start.func, LogX.codefunc]) # lambda like function 



The function is not invoked at the time of assigning a funcref variable.  But the function
will be compiled.

- Yegappan

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAAW7x7k9rLyGScc-5RbgOovi_6%2BPkShv%3DEPZcx46WEdS0%2B5O7w%40mail.gmail.com.

No comments: