... To an overview over which operators are defined by which prototypes, I wrote this little script: operMap := Map clone IoVM slotNames foreach(isn, ...
8953
Jon Kleiser
jon_kleiser
May 1, 2006 1:19 pm
Using Io 20060429 on OSX, I wanted to check if it was possible to continue an expression on the next line by using "\" at the end of the current line. This is...
8954
Jeremy Tregunna
jtregunna_io
May 1, 2006 2:34 pm
... Note that it's trying to find a slot named +\ because of the lack of a space (when you use two non-alphanumeric characters next to one another, Io thinks...
8955
David Fayram
d_fayram
May 1, 2006 3:31 pm
... Nearly everyone here is a refugee from the world of statically typed languages. No one here has any desire to make Io into a mutant-hybrid static-dynamic....
8956
Jeremy Tregunna
jtregunna_io
May 1, 2006 4:05 pm
... So you should use a special type of method constructor which allows this behaviour; nobody has been against that, it's changing the default behaviour that...
8957
David Fayram
d_fayram
May 1, 2006 4:10 pm
Hey everyone, I am suffering. I am suffering because I cannot run Io on my machine. It's a Macbook Pro, and generally very nice, but Io hasn't been ported to...
8958
Jeremy Tregunna
jtregunna_io
May 1, 2006 4:20 pm
... Apart from this plea, you may be able to get assistance from those who know the platform in #opendarwin on freenode. That is, they may be able to help you...
8959
David Fayram
d_fayram
May 1, 2006 7:56 pm
... Err, call varargs would be different. It'd be subset of call arguments that was matched to the * pattern. Call arguments would contain that portion as a...
8960
Jeremy Tregunna
jtregunna_io
May 1, 2006 8:54 pm
... Again I'm being misunderstood. I am Fully aware of the case you describe, you need not repeat yourself for christ sakes, this is ridiculous. I was merely...
8961
Galen Beals
n_grava
May 2, 2006 8:53 am
... <SNIP> ... Hey! What's wrong with Python?! ;D -=GB=- P.S. I really do love Python though....
8962
Quag
quagath
May 2, 2006 10:18 am
... More than you love Io?! Jonathan....
8963
David Fayram
d_fayram
May 2, 2006 3:42 pm
... Is the idea even mathematically possible???!...
8964
Quag
quagath
May 2, 2006 9:15 pm
... What does it mean when people 'love' a programming language? Jonathan....
8965
Zachery Bir
zacherybir
May 2, 2006 9:18 pm
... It means the pages of my _Programming Python_ are stuck together. Zac...
8966
Steve Dekorte
stevedekorte
May 2, 2006 10:45 pm
... Thanks for the bug report. I've pushed a fix. Cheers, -- Steve...
8967
Steve Dekorte
stevedekorte
May 2, 2006 10:46 pm
... It's still under construction. It will be different from a Smalltalk/LISP image though. Object records will be randomly accessible and Map values will be...
8968
Rich
seagrave1918
May 3, 2006 2:44 pm
(If I've missed this entry in the manual, please forgive my ignorance). Is it possible to unset a slot on an object in Io? The motivation for this question...
8969
Quag
quagath
May 3, 2006 8:14 pm
Hi Rich, ... removeSlot("theSlot") If you want to distinguish between if a slot is on the local scope vs the object you can use self hasSlot("slotName") # on...
8970
Steve Dekorte
stevedekorte
May 4, 2006 1:14 am
... a := Object clone a foo := 1 a removeSlot("foo") -- Steve...
8971
Jeremy Tregunna
jtregunna_io
May 4, 2006 11:20 pm
Just posting this as an update. ... It does now, as of an hour ago. The support is in the darcs repository, and should appear in the next release. ... The...
8972
Jeremy Tregunna
jtregunna_io
May 5, 2006 2:26 am
Earlier tonight we incorporated a UTF8 patch for the lexer. All works fine if you use standard ASCII or UTF8 character encoding (or even extended ASCII...
8973
SainTiss
saintiss@...
May 5, 2006 10:04 am
For those who still want to try ' as syntactic sugar for getSlot, here is a very simple piece of code: Object ' := method(self getSlot(call message arguments...
8974
Jon Kleiser
jon_kleiser
May 8, 2006 8:10 am
I was surprised that this method ... method(getSlot("Number")) ... returns nil, while this method ... method(IoVM getSlot("Number")) ... returns 0. In the...
8975
SainTiss
saintiss@...
May 8, 2006 8:21 am
Hi Jon, I don't know if this is explicitly in the docs, but it is correct behaviour: Any message in a method is by default sent to a Locals clone. Since Locals...
8976
Jon Kleiser
jon_kleiser
May 8, 2006 10:34 am
Hi Hans, OK, but what then is the difference between method(getSlot("Number")) and method(Number) ...? The latter returns 0. /Jon...
8977
Quag
quagath
May 8, 2006 10:59 am
Hi Jon, ... You've got me beat. I can't explain it. Do you know of any other slots on Object which suffer from the same problem? Jonathan....
8978
SainTiss
saintiss@...
May 8, 2006 10:59 am
Hi Jon, Well, by default a message is sent to Locals, but if Locals does not respond to it (as with "Number"), it is sent to self instead. So the difference is...
8979
Jon Kleiser
jon_kleiser
May 9, 2006 1:58 pm
I'm writing a script that generates readable html docs from available data in the Io system. To access the available slot docs, I do things similar to this: ...
8980
Alwin Blok
alwinblok
May 9, 2006 2:16 pm
Hello,. I'm curious about message trees: Why are they built with `next` and `attached` slots on Message instead of using Lists of Message objects ? Regards, ...
8981
Jeremy Tregunna
jtregunna_io
May 9, 2006 5:44 pm
... First you have to "make docs" then run "make" to build a clean, new vm; that will include the doc stuff in the C source files. After you're done, you can...