IRC Logs for #io Tuesday, 2014-10-07

*** iorivur has quit IRC00:31
*** iorivur has joined #io00:47
*** iorivur has quit IRC00:59
*** iorivur has joined #io01:09
*** iorivur_ has joined #io03:49
*** iorivur has quit IRC03:50
*** gatesphere has quit IRC03:59
*** iorivur_ has quit IRC04:22
*** iorivur has joined #io04:23
*** iorivur has quit IRC06:20
*** iorivur has joined #io06:20
*** TheMonkey has joined #io06:26
*** ElMonkey_ has quit IRC06:30
*** c74d has quit IRC06:49
*** c74d has joined #io06:51
*** c74d has quit IRC07:10
*** c74d has joined #io07:12
*** pchalupa has joined #io07:14
*** bjz has joined #io08:32
*** ijon_ has joined #io09:03
*** bjz has quit IRC09:05
*** bjz has joined #io09:07
*** iorivur has quit IRC09:08
*** iorivur has joined #io09:10
*** jabb_ has joined #io09:29
jabb_after getting a slot thats a block, how do i execute it? (Object getSlot("println"), for example)09:29
jabb_Object getSlot(name) execute09:29
*** petr has quit IRC09:46
*** ijon_ has quit IRC09:46
*** ijon_ has joined #io09:48
*** petr has joined #io09:57
*** petr has quit IRC10:05
*** petr has joined #io10:12
*** hashmal has joined #io10:15
jabb_also, what's the best way to check a local if it exists, say a function fails to return something (find something)10:25
jabb_if (returnValue, ...)? because doesn't that search the method's object if you're inside an object10:25
*** petr_ has joined #io10:39
*** petr has quit IRC10:41
*** ijon_ has quit IRC10:54
*** ijon_ has joined #io11:03
*** ijon_ has quit IRC11:23
*** ijon_ has joined #io11:25
prologicI mean <message>?11:48
prologiciirc the syntax denotes ? as special11:48
jabb_does clone clone absolutely everything or are references to object kept? (is it a deep copy?)12:12
*** hashmal has quit IRC13:01
*** iorivur has quit IRC13:36
*** iorivur has joined #io13:37
*** pchalupa has quit IRC14:33
*** ijon_ has quit IRC16:11
*** ijon_ has joined #io16:11
*** iorivur has quit IRC16:51
*** iorivur has joined #io16:51
*** hashmal has joined #io16:58
*** ijon_ has quit IRC17:07
*** ijon_ has joined #io17:08
*** pchalupa has joined #io17:08
*** ijon_ has quit IRC17:17
*** Stalkr_ has joined #io17:36
*** debris` has joined #io18:31
*** hashmal has quit IRC18:40
*** keeto has left #io ("Textual IRC Client:")18:56
*** ElMonkey_ has joined #io19:12
*** TheMonkey has quit IRC19:16
prologicit's more of a reference iirc19:53
prologicprototypal inheritenace chain and lookups19:53
jerjabb_, reference types are all io supports19:55
jeralso as part of io's differential inheritance system, when you clone an object here's what happens, exactly, 100% of the time assuming nobody's overrode clone19:55
jer1) b := a clone; 2) setSlot("b", a clone); 3) creates a new empty object descended from the thing that a points at. That is tos ay, the object 'b' points at, is empty. No data is copied over, but item 0 in the protos list, points at 'a'19:57
jerexample: a := Object clone do(foo := 42); b := a clone19:57
jerb slotNames detect(== "foo") will return nil. however, if you: b getSlot("foo") you'll get the exact object that lives on 'a'. i.e., b getSlot("foo") == a getSlot("foo")19:58
jerthis works because b protos at(0) == a19:58
jeroh sorry, and to my list above, 1, 2, 3 there is a step 4; init will be called on b after the clone is done19:58
*** Stalkr_ has quit IRC20:48
*** gatesphere has joined #io21:06
*** mkroehnert has joined #io21:29
prologicit helps to have implemented (ableit poorly) Io-ish languages :)21:32
*** mkroehnert has quit IRC22:12
*** bjz_ has joined #io22:19
*** petr_ has quit IRC22:19
*** mkroehnert has joined #io22:20
*** mkroehnert has quit IRC22:20
*** bjz has quit IRC22:21
*** petr has joined #io22:29
*** jabb has joined #io22:46
*** jabb_ has quit IRC22:49
*** bjz_ has quit IRC23:16

Generated by 2.11.0 by Marius Gedminas - find it at!