Login  Register

Implementation Request in SmalltalkProxy

Posted by GLASS mailing list on May 15, 2018; 2:54pm
URL: https://forum.world.st/Implementation-Request-in-SmalltalkProxy-tp5076879.html

Hi,

Installing Highcharts 6.0 for GemStone has dependency on Renoir package.
The installation script use Smalltalk globals at:ifPresent:ifAbsent:
See:
https://github.com/ba-st/RenoirSt/blob/master/source/BaselineOfRenoirSt/BaselineOfRenoirSt.class.st#L25

SmalltalkProxy does no implement at:ifPresent:ifAbsent:.
It will be good to have it. I already implement it as:
at: key ifPresent: oneArgBlock ifAbsent: absentBlock
    self at: key ifPresent: [ :v | ^oneArgBlock value: v ].
    ^absentBlock value

But it will be better if it is present in GemStone by default.

regards,
bruno

Libre de virus. www.avast.com

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass