<br><br><div class="gmail_quote">On Jan 31, 2008 2:09 AM, Dan Licata &lt;<a href="mailto:drl@cs.cmu.edu">drl@cs.cmu.edu</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi everyone,<br><br>Given the usual equality type Id M N and the empty type Void, I&#39;d like<br>to write a function<br><br>contra : Id &quot;nat&quot; &quot;exp&quot; -&gt; Void<br>contra ()<br><br>However, the emptiness checker doesn&#39;t notice that this type is<br>
uninhabited (like it would if &quot;nat&quot; and &quot;exp&quot; were two different<br>constructors of a datatype).<br><br>Does anyone know a workaround? &nbsp;Also, would it be hard to catch this<br>case (i.e., treat string literals as constructors), or is this just a<br>
feature that&#39;s not implemented yet?</blockquote><div><br>It wouldn&#39;t be hard at all. In fact a patch has just been pushed that fixes the issue.<br><br>/ Ulf <br></div></div><br>