Mike;<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Man, that sounds familiar... &nbsp;;-)<br>
</blockquote><div><br>I thought it might....<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&nbsp; &nbsp; &nbsp;&nbsp; // this you can&#39;t do, apparently...<br>

 &nbsp; &nbsp; &nbsp; &nbsp;fun Object pop() {<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//objects.popBack() @=&gt; Object s;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//return s;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;}<br></blockquote><div><br>Actually it seems like objects.popBack() will return something of type void. Sounds like another case of arrays mucking with the type system to me.<br><br>I don&#39;t think the type system would be that bad if it weren&#39;t for stuff like that. Arrays seem to somehow lose some of the type of some objects at times.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
I really wish that there was at least an isInstanceOf() method (like<br>
in Java, sadly), we could use to programatically determine the class<br>
of an object at runtime. &nbsp;It&#39;s my personal, humble opinion that, if<br>
you&#39;re going to have a strict typing system, you should provide a way<br>
to programatically determine the type of anything.<br>
</blockquote><div><br>This sounds like a very good idea to me. At the very least it should make debugging situations like the one you have here much easier. Right now I tend to simply print objects to determine their type;<br>
<br>SinOsc foo;<br>Event bar;<br>&lt;&lt;&lt;foo&gt;&gt;&gt;;<br>&lt;&lt;&lt;bar&gt;&gt;&gt;;<br><br>Clearly the info is there already.<br></div></div><br>Yours,<br>Kas.<br>