It has exactly that (without the dynamic check)<span></span>. And no, I don't think so. <br><br>On Friday, July 26, 2013, Matthias Felleisen wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
[Catching up]<br>
<br>
Does CML have anything even remotely comparable to handle-evt<br>
and does it assign a type distinction?<br>
<br>
-- Matthias<br>
<br>
<br>
<br>
<br>
On Jul 25, 2013, at 2:45 PM, Asumu Takikawa wrote:<br>
<br>
> On 2013-07-25 12:36:32 -0600, Matthew Flatt wrote:<br>
>> My thought was that you should only use `handle-evt' if you need tail<br>
>> behavior for something like a loop. If you use `handle-evt' and you're<br>
>> not getting tail behavior (but `sync' continues on, anyway), then<br>
>> something has gone wrong --- and maybe it's better to get an error than<br>
>> have a slow leak that will be tricky to detect.<br>
><br>
> I could see how that might be a better choice for debugging. Especially<br>
> since it seems that people don't check `handle-evt?` on events (which<br>
> you would need to do to ensure tail-behavior in semantics 2).<br>
><br>
> In particular, there are zero uses of `handle-evt?` in the codebase<br>
> outside of tests.<br>
><br>
> Since it's primarily a performance debugging feature, it seems OK to<br>
> ignore the distinction in Typed Racket and keep the current semantics.<br>
><br>
> Thanks,<br>
> Asumu<br>
> _________________________<br>
> Racket Developers list:<br>
> <a href="http://lists.racket-lang.org/dev" target="_blank">http://lists.racket-lang.org/dev</a><br>
<br>
_________________________<br>
Racket Developers list:<br>
<a href="http://lists.racket-lang.org/dev" target="_blank">http://lists.racket-lang.org/dev</a><br>
</blockquote>