<div dir="ltr">On Tue, Jan 3, 2012 at 06:35, Yucheng Zhang <span dir="ltr"><<a href="mailto:yczhang89@gmail.com">yczhang89@gmail.com</a>></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">> 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>
> Illegal signature in pattern: LegGram nt t s<br>
> 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 "fully". Although, that's a question for someone who understands ghc'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>