ZyX wrote:

> The attached patch adds a third argument to sort so that sort will be able to 
> use dictionary functions. Here are two reasons for doing this:
> 1. Anonymous functions are only dictionary functions (this is what I need).
> 2. You will be able to pass additional arguments or store some static values 
> in 
> this dictionary without using some global variable (and this is why I prefer 
> this over adding `nodict' extra argument to ex_function).

Thanks, I'll add it to the todo list.

-- 
Where do you want to crash today?

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
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

Raspunde prin e-mail lui