<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Apr 21, 2015 at 9:26 AM, Artyom <span dir="ltr"><<a href="mailto:yom@artyom.me" target="_blank">yom@artyom.me</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline;white-space:pre-wrap;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;padding:0.5em;color:rgb(51,51,51);background:none repeat scroll 0% 0% rgb(248,248,255)">$ Temp/jhc-0.8.2/jhc Temp/jhc1.hs
jhc Temp/jhc1.hs
jhc 0.8.2 (mydniquipepo-32)
Finding Dependencies...
Using Ho Cache: '/home/yom/.jhc/cache'
Temp/jhc1.hs:1 - Error: Invalid Class. multiparameter classes not yet supported:
(Num,[HsTyTuple [HsTyVar {hsTypeName = a},HsTyVar {hsTypeName = b}]])
</code></pre>
<p style="margin:1.2em 0px!important">Am I misunderstanding
something, or is it a legitimate bug?</p>
<div title="MDH:VGhpcyAoZW1wdHkpIGluc3RhbmNlIGRlY2xhcmF0aW9uPGJyPjxicj5+fn4gaGFza2VsbDxicj5pbnN0YW5jZSBOdW0gKGEsYikgPSZndDsgTnVtIChhLGIsSW50KSB3aGVyZTxicj5+fn48YnI+PGJy
PnByb2R1Y2VzIHRoZSBmb2xsb3dpbmcgZXJyb3Igd2hlbiBjb21waWxlZCB3aXRoIGpoYyAwLjgu
Mjo8YnI+PGJyPn5+fjxicj4kIFRlbXAvamhjLTAuOC4yL2poYyBUZW1wL2poYzEuaHMgPGJyPjxi
cj5qaGMgVGVtcC9qaGMxLmhzPGJyPmpoYyAwLjguMiAobXlkbmlxdWlwZXBvLTMyKTxicj5GaW5k
aW5nIERlcGVuZGVuY2llcy4uLjxicj5Vc2luZyBIbyBDYWNoZTogJy9ob21lL3lvbS8uamhjL2Nh
Y2hlJzxicj48YnI+VGVtcC9qaGMxLmhzOjHCoMKgIC0gRXJyb3I6IEludmFsaWQgQ2xhc3MuIG11
bHRpcGFyYW1ldGVyIGNsYXNzZXMgbm90IHlldCBzdXBwb3J0ZWQ6PGJyPihOdW0sW0hzVHlUdXBs
ZSBbSHNUeVZhciB7aHNUeXBlTmFtZSA9IGF9LEhzVHlWYXIge2hzVHlwZU5hbWUgPSBifV1dKTxi
cj5+fn48YnI+PGJyPkFtIEkgbWlzdW5kZXJzdGFuZGluZyBzb21ldGhpbmcsIG9yIGlzIGl0IGEg
bGVnaXRpbWF0ZSBidWc/PGJyPg==" style="min-height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0"></div>
</div>
</div>
</blockquote></div><div class="gmail_extra"><br></div><div class="gmail_extra">Looks multiparameter to me:</div></div><div class="gmail_extra"><br></div><div class="gmail_extra"> instance ... => Num (T a b Int) where</div><div class="gmail_extra"><br></div><div class="gmail_extra">with T ~ (,,). Which is what the second line of the error message is telling you, more or less.<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>