On 6-Dec-07, at 3:59 AM, Cyril Slobin wrote:

>> : foo A [ B foo ] [ C ] if ;
>
> I feel myself dumb, but what C is for? Is it not equal to
>
>   : foo A [ B foo ] when ;

No, in fact the following two are different:

: foo A [ B ] when C ;
: foo A [ B ] [ C ] if ;

So the following two are different also:

: foo A [ B foo ] when C ;
: foo A [ B foo ] [ C ] if ;

The former is not tail recursive; the latter is.

> Factor 0.90 on windows/x86.32
> ( scratchpad ) stdio get lines .
> snark meets aardvark
> ^Z
> The die word was called by the library. Unless you called it yourself,
> you have triggered a bug in Factor. Please report.

'lines' closes the stream when done. Try

stdio get duplex-stream-in lines .

Slava

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to