Hugh, Here are some answers to your questions:
---- EXIT ---- From the docs on with-return ( \ with-return help ) Examples Only "Hi" will print: USING: prettyprint continuations io ; [ "Hi" print return "Bye" print ] with-return Hi This is currently a bit slow (uses continuations) but it could be optimized. ---- Tail recursion ---- Tail recursion will work as you describe. This is tail-recursive: : foo ... [ ] [ foo ] if ; ---- Garbage collection ---- You can store a zero or f into the link and the lost node will get garbage collected. If you want to have a realtime discussion about Factor, you can go to #concatenative on irc.freenode.org. Doug ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
