On Jun 15, 2016 7:58 AM, "Ken Takata" <ktakata65...@gmail.com> wrote: > > Hi mattn and all, > > 2016/5/27 Fri 22:38:34 UTC+9 Ken Takata wrote: > > Hi mattn, > > > > 2016/4/18 Mon 0:30:19 UTC+9 mattn wrote: > > > Hi, Bram and list. > > > > > > Updated lambda patch to be applied for latest code. > > > > > > https://gist.github.com/mattn/5bc8ded21e1033c9c0ea8cd5ecbbce11 > > > > > > This include examples for timer on help file. I'm thinking lambda() have cooperative to work with job/timer/channel. > > > > > > So I hope to add this into vim8. How do you think? > > > > > > Thanks to k-takata, haya14busa, and all of members on vim-jp. > > > > I have tested the lambda patch with the latest Vim and I found two problems. > > > > 1. garbagecollect_for_testing() was renamed. > > 2. Test_lambda_with_timer() fails on Cygwin. It seems that we need margins > > as we do in test_timers.vim. > > > > Please check attached patch. > > > > I hope that the lambda patch will be merged in Vim 8.0. > > This makes filter(), map() and sort() easy to use. > > It also works nicely with job/channel/timer features. > > I have merged my patch into your patch, and also fixed that the function > declaration was not sorted in alphabetical order. > Please check the attached patch. > > Regards, > Ken Takata
If lambdas are merged, do we need partials? Why? ---- Justin M. Keyes -- -- You received this message from the "vim_dev" 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_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.