Hi Rolf,

You can use the with-datastack combinator to achieve the same effect:

{ } [ 1 2 + "hi" ] with-datastack => { 3 "hi" }

Slava

On Mon, Aug 9, 2010 at 10:21 PM, Rolf Lauer <[email protected]> wrote:
> Hi,
> I am a newbie in factor,
> can someone tell me why not compile
>
> : datastack-to-sequence ( -- x ) datastack [ clear ] dip ;
>
> What is the alternative ?
>
> Thanks.
> Rolf
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to