On May 19, 2011, at 11:43 AM, Zhe Hu wrote:

> Hi,
> I am looking for a word that does this:
> 
> { 1 2 3 4 5 } pop-all-back-on-stack

The most efficient way to do this is with the input<sequence macro from 
combinators.smart:

USE: combinators.smart

{ 1 2 3 4 5 6 } [ sq 1 + ] map [ silly-function ] input<sequence

-Joe
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to