ven, 19 Feb 2010, Teemu Likonen skribis: > * 2010-02-18 20:21 (UTC), Antony Scriven wrote: > > > On 18 February 2010 12:14, Teemu Likonen <[email protected]> wrote: > >> Higher-order functions are standard stuff in Lisp but probably weird > >> for many people because the the concept is not common and the feature > >> of first-class functions is not available in many languages. > >> Nevertheless they are powerful. [...] > > > > Most comp sci degrees teach functional programming in the first year > > now. And don't forget that the world's most popular programming > > language includes reduce and other HOFs as standard. --Antony > > Good. Then perhaps (reduce <function> <sequence>) is also in the > category of easy-to-read. I thought I had found an area in Lisp code > which is difficult to understand quickly but it seems I was at least > partially wrong.
It is fairly easy to understand when the function apply to an argument, try another example to define a higher order function in terms of purely other functions without explicit appearance of argument. -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php
