Re: [Factor-talk] iPhone

2008-03-11 Thread Samuel Tardieu
Slava == Slava Pestov [EMAIL PROTECTED] writes: Slava Unfortunately the iPhone SDK has some pretty ridiculous Slava restrictions -- you can only distribute your programs through Slava the Apple store, and you're not allowed to write programs that Slava can dynamically load and execute code.

[Factor-talk] Iterating over a sequence while a condition is true

2008-03-11 Thread Nikhil Marathe
What I essentially want to do, in an imperative language would be -- for ( i = 0 to length of seq ) if( !function( seq[i] ) ) break; --- But for some reason, I'm having a lot of trouble juggling the stack in Factor, to achieve this. function is

Re: [Factor-talk] Iterating over a sequence while a condition is true

2008-03-11 Thread Nikhil Marathe
Thanks a lot! On Tue, Mar 11, 2008 at 8:36 PM, Doug Coleman [EMAIL PROTECTED] wrote: Try the 'find' combinator. { 1 3 4 5 } [ odd? not ] find 10 [ 8 = ] find \ find help Doug On Mar 11, 2008, at 9:52 AM, Nikhil Marathe wrote: What I essentially want to do, in an imperative language

Re: [Factor-talk] A note about Dan's unicode efforts

2008-03-11 Thread Chris Double
On Wed, Mar 12, 2008 at 5:24 AM, William Tanksley, Jr [EMAIL PROTECTED] wrote: Well... maybe something could be better. One of the hard problems is knowing what to put in your USING: clause. Nobody ever shows that when showing code examples, but it's crucial, and a serious blocker for

Re: [Factor-talk] A note about Dan's unicode efforts

2008-03-11 Thread Slava Pestov
William Tanksley, Jr wrote: Doesn't work in the version I downloaded just a week ago. But now I know to look under io. No real problem. You have to read the whole error message, not just assume it failed irrecoverably: ( scratchpad ) \ file-reader help interactive:1 \ file-reader help

Re: [Factor-talk] A note about Dan's unicode efforts

2008-03-11 Thread Slava Pestov
Chris Double wrote: USE: tools.browser load-everything You might want to put these two lines in your ~/.factor-boot-rc. Slava - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual