[M3devel] proedure closures?
Olaf Wagner
wagner at elegosoft.com
Fri Mar 28 10:24:25 CET 2008
Quoting Dragiša Durić <dragisha at m3w.org>:
> I would like to construct a call to arbitrary procedure/method whose
> argument list and address I know. Is there a lowlevel way to do this, or
> its only possible throught stubgen like and/or enumerating all possible
> procedure types and loopholing to them through some kind of CASE?
TYPECASE on the procedure type followed by NARROW comes to mind;
I have never tried that with procedures though.
Another option might be to declare the procedures as methods in
sub-closures and perform the NARROW on the closure class.
Olaf
--
Olaf Wagner -- elego Software Solutions GmbH
Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95
http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
More information about the M3devel
mailing list