Re: Moto 0.19.0 release date
David Hakim <dhakim-Gkm/TONP9n1Wk0Htik3J/[email protected]> Thu, 6 Mar 2003 20:41:09 -0500
| Newsgroups | gmane.comp.lang.moto.devel |
|---|---|
| Message-ID | <[email protected]> |
Ok then :) One more week it is ...
-Dave
BTW: For anyone with repository access ... the following code now works
under the interpreter :
$use("codex.util")
$use("cstdlib")
${
// Method Identification
Vector v1 = new Vector();
Vector v2 = new Vector();
Stringset s1 = new Stringset();
void(Object) add = v1.add;
Object(int) get = v1.get;
add("hello");
add("goodbye");
add("hello");
add("goodbye");
add("so");
add("long");
print <String>get(0) + "\n";
print <String>get(1) + "\n";
v1.elements().each(v2.add);
print "Cloned: "+ join(<String[]><Object>v2.toArray(),",") + "\n";
v2.sort(<int(Object,Object)>strcmp);
print "Sorted: "+ join(<String[]><Object>v2.toArray(),",") + "\n";
v2.clear();
v1.elements().each(<void(Object)>s1.add);
s1.elements().each(v2.add);
print "Unique: "+ join(<String[]><Object>v2.toArray(),",") + "\n";
}$
... happy hacking :)
On Thursday, March 6, 2003, at 03:33 PM, Charles Patterson wrote:
>
>
>> 3) I hold off on release until I implement partially applied functions
>> (stopping short of implementing anonymous functions). This may be
>> another week away.
>>
>> What do people think ?
>
> A week isn't much. While many open-source projects have faults in
> final
> releases, e.g. Mozilla, I don't think a week is long at all!
>
>
>
>