([])[0] is much clearer written as UNDEFINED.
Aliasing like
mixed `->(string what) { return `[](what); }
is better written as
constant `->=`[];
/ Martin Nilsson (Åskblod)
Previous text:
2003-02-10 19:30: Subject: Implicit vs. explicit type casting with Pike
I know this isn't what you asked, but
return throw(({"Unsupported type conversion for the object", backtrace()}));
is much simpler written as
| error("Unsupported type conversion for the object");
if I didn't misunderstand something here...
/ Mirar