[Factor-talk] Factor 0.90 and Textmate problems

2007-10-06 Thread Stefan Scholl
Hi stackies! My first steps with Factor 0.90 (Factor.app) on MacOS X 10.4.10 weren't as straightforward as I wished. editors.textmate require That one was easy. But didn't work. No editor was started when I selected something with C-e or called :edit. After a while I found the

Re: [Factor-talk] Factor 0.90 and Textmate problems

2007-10-06 Thread Stefan Scholl
On 2007-10-06 17:14:35, Stefan Scholl wrote: relatively fresh System. I'd suggest the path to mate will be written as /usr/bin/mate. That's the default location of mate and this should work on every system. OK, not correct. 3 Mac people on IRC and 3 directories for mate. One alternative

[Factor-talk] Abusing curry?

2007-10-06 Thread Samuel Tardieu
I was in the need of a unique word which, given a sequence, builds a new sequence of the same kind with unique elements of the input sequence while keeping the same order (only subsequent duplicate elements must be ommited). I ended up with: : unique ( seq -- newseq ) [ dup length

Re: [Factor-talk] Abusing curry?

2007-10-06 Thread Slava Pestov
Hi Sam, Take a look at the 'prune' word in the hashtables vocabulary, it does exactly what you want but it runs in O(n) time because it uses a hashtable to track which elements have already been added. Slava On 6-Oct-07, at 1:48 PM, Samuel Tardieu wrote: I was in the need of a unique word