<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, May 20, 2014 at 9:34 PM, David Banas <span dir="ltr"><<a href="mailto:capn.freako@gmail.com" target="_blank">capn.freako@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>The first one must be defined uniquely by each instance, but the second never needs a unique definition.</div><div>
So, I provided its implementation in the typeclass definition, as shown.</div></blockquote></div><br>This makes no sense; if there's only one definition, then define it *outside* the typeclass. A definition *inside* the class is there to be overridden by specific instances that need to do so.<br clear="all">
<div><br></div><div>That said, you haven't said what you are getting that is not expected, and there isn't enough information here to really say what might or might not be going on.</div><div><br></div>-- <br><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>