[Factor-talk] frame gadgets

2010-08-15 Thread Андрей Полищук
Hi I'm trying to make frame with four cells, and label in each cell in that way: MAIN-WINDOW: main-window { { title [ gui - training ] } } { 256 256 } pref-dim 2 2 frame { A B C D } [ label ] map { { 0 0 } { 0 1 } { 1 0 } { 1 1 } } [ grid-add ] 2each gadgets ; But that dont

[Factor-talk] Why always inline when downwar ding funarg ?

2010-08-11 Thread Андрей Полищук
Hello, im newbie to factor, but i think i already like it, but there's one thing that scares me: Every time when we have combinators we have to deal with stack-effect checking of passed funarg(s) and as written in manuals, and as done for standart combinators, the way to solve this is to declare

Re: [Factor-talk] Why always inline when downwar ding funarg ?

2010-08-11 Thread Андрей Полищук
' is an exceptional case. Slava On Thu, Aug 12, 2010 at 2:41 AM, Андрей Полищук ander-skir...@mail.ru wrote: Hello, im newbie to factor, but i think i already like it, but there's one thing that scares me: Every time when we have combinators we have to deal with stack-effect

[Factor-talk] Lazy logops Newbie question

2010-08-10 Thread Андрей Полищук
Hello, Sorry for bad english, I am a newbie in factor, came from common-lisp fields. I've tried to implement bubble-sort, and got error i cannot deal with for few hours. Can someone please help? Sorry for maybe weird and not true-factor-way code: :: bubble-sort! ( seq cmp -- sorted-seq )