[E-Lang] Coming Attractions: Java Overload Resolution
Marc Stiegler
marcs@skyhunter.com
Sat, 24 Mar 2001 10:53:12 -0700
> I figured out the "E call" stuff eventually, but it was hard because it
> is quite picky about the formatting of the string that specifies which
> initializer you want. The right answer is:
>
> E call( integer maker, "new(int, Random)", [bits, rng] )
>
> but you have to have exactly zero spaces after "new" and the parens,
> and exactly one space after the comma, for it to work.
Were you looking at E in a Walnut while trying to work through this? The
section on E call for operator overloading is not complete, it doesn't have
a 2-argument example, but it does have a note in red that a space is
required there, and everything else is correct, and it warns you the
spelling must be exact.
If you were aware of the availability of E in a Walnut at the time and it
was not helpful, any insight you can give me as to how to improve it would
help make it more helpful in the future :-).
--marcs