<div dir="ltr">On Tue, Jan 3, 2012 at 06:35, Yucheng Zhang <span dir="ltr">&lt;<a href="mailto:yczhang89@gmail.com">yczhang89@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">&gt; legSome ((LegGram g)::LegGram nt t s) ntV<br>
<br>
</div>If you compile this without ScopedTypeVariables extension, GHC will<br>
remind you of it:<br>
<br>
&gt;    Illegal signature in pattern: LegGram nt t s<br>
&gt;        Use -XScopedTypeVariables to permit it<br></blockquote><div><br></div><div>Right, but I think this is conflating two aspects of ScopedTypeVariables and may not bring them into scope &quot;fully&quot;.  Although, that&#39;s a question for someone who understands ghc&#39;s type system far better than I do.</div>
<div><br></div></div>-- <br>brandon s allbery                                      <a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a><br>wandering unix systems administrator (available)     (412) 475-9364 vm/sms<br>
<br>
</div>