This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: module extension
- To: kawa at sources dot redhat dot com
- Subject: Re: module extension
- From: mgd at swarm dot org (Marcus G. Daniels)
- Date: 24 Nov 2000 12:04:27 -0800
- Reply-to: marcusd at cathcart dot sysc dot pdx dot edu
MD> I'm not sure I understand. In the previous example, suppose that
MD> TestbaseSimple's constructor had an "int foo" argument. Why wouldn't
MD> syntax like "(make <testSimple> 1)" be adequate?
PB> Because that is the Kawa syntax for 'new testSimple(1)' and hence
PB> ambiguous. You could do:
PB> (define (<init>) (super 1))
I'd be happy with that, simply because this is a blocker for me. ;-)
But it looks like "<" and ">" get mangled, and that this construct
doesn't result in a new constructor (instead it is "$LsInit$Gr()").