> Not 100% sure what you mean here, but writing HOFs shouldn't
> be complex. I hope you don't mind me switching to what is
> a more familiar language for me.
>
> zipWith = function(fn,list1,list2)
> map(function(val) fn(val[0],val[1]), zip(list1,list2));
the list1 and list2 are arguments that I meant to eliminite, that is,
write a zipwith without explicit appearance of list1 and list2.
something like this,
http://en.wikipedia.org/wiki/SKI_combinator_calculus
--
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
No comments:
Post a Comment