[Pharo-project] Understanding of new Eliot Closures
Hi! I am trying to make Glorp work on Pharo, and I having some problems. In squeak I inspect [] and I see I have a BlockContext object. In latest Pharo, I get a BlockClosure. I guess this is about Eliot changes ? Now, Glorp has 5 methods extension in BlockContext. I saw BlockContext and BlockClosure and they have no hierarchy in common. So, if I want Glorp to work in squeak and pharo I must copy all that 5 methods from BlockContext to BlockClosure? is there a better solution ? I tried the first one and seems to work ok but I don't know if it is correct. Thanks in advance, Mariano
I think copying the methods from BlockContext to BlockClosure is the correct course. -Todd Blanchard On May 18, 2009, at 4:56 PM, Mariano Martinez Peck wrote:
Hi! I am trying to make Glorp work on Pharo, and I having some problems. In squeak I inspect [] and I see I have a BlockContext object. In latest Pharo, I get a BlockClosure. I guess this is about Eliot changes ?
Now, Glorp has 5 methods extension in BlockContext. I saw BlockContext and BlockClosure and they have no hierarchy in common. So, if I want Glorp to work in squeak and pharo I must copy all that 5 methods from BlockContext to BlockClosure? is there a better solution ? I tried the first one and seems to work ok but I don't know if it is correct.
Thanks in advance,
Mariano _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
you can find info in his blog: http://www.mirandabanda.org/cogblog/category/cog/ 2009/5/18 Mariano Martinez Peck <marianopeck@gmail.com>
Hi! I am trying to make Glorp work on Pharo, and I having some problems. In squeak I inspect [] and I see I have a BlockContext object. In latest Pharo, I get a BlockClosure. I guess this is about Eliot changes ?
Now, Glorp has 5 methods extension in BlockContext. I saw BlockContext and BlockClosure and they have no hierarchy in common. So, if I want Glorp to work in squeak and pharo I must copy all that 5 methods from BlockContext to BlockClosure? is there a better solution ? I tried the first one and seems to work ok but I don't know if it is correct.
Thanks in advance,
Mariano
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
yes! Stef On May 19, 2009, at 1:56 AM, Mariano Martinez Peck wrote:
Hi! I am trying to make Glorp work on Pharo, and I having some problems. In squeak I inspect [] and I see I have a BlockContext object. In latest Pharo, I get a BlockClosure. I guess this is about Eliot changes ?
Now, Glorp has 5 methods extension in BlockContext. I saw BlockContext and BlockClosure and they have no hierarchy in common. So, if I want Glorp to work in squeak and pharo I must copy all that 5 methods from BlockContext to BlockClosure? is there a better solution ? I tried the first one and seems to work ok but I don't know if it is correct.
Thanks in advance,
Mariano _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (4)
-
Eagle Offshore -
Hernan Wilkinson -
Mariano Martinez Peck -
Stéphane Ducasse