Hi Doug: traversing through wrapper classes to the primitive types would be a big convenience to the novice Java programmer who does not know about floatValue() etc. Unless it is _very_ easy to add I would wait with this useful feature until the traversal strategies have all the important features. -- Karl >From dougo@ccs.neu.edu Wed Jun 17 11:39:45 1998 >From: Doug Orleans >To: Karl Lieberherr , dem@ccs.neu.edu >Subject: Re: optional parts of primitive type > >Doug Orleans writes: > > Karl Lieberherr writes: > > > But to express this I would be perfectly happy to be forced to > > > write: > > > > > > Complex = [ Float ] [ Float ]. > >Silly idea: wouldn't it be cool if we could traverse through wrapper >classes to the primitive class inside? So you could say: > > Complex { > float real() bypassing -> *,re,* to float { > before float (@ return_val = host; @) > } > } > >Seems like just a small matter of programming... > >