<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Sep 16, 2015 at 7:19 AM, Bram Neijt <span dir="ltr"><<a href="mailto:bneijt@gmail.com" target="_blank">bneijt@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 id=":ww" class="a3s" style="overflow:hidden">If I use<br>
    return (toInteger mtime)<br>
I get<br>
    src/Main.hs:<span class="aBn" tabindex="0"><span class="aQJ">21:13</span></span>:<br>
        No instance for (Integral System.Posix.Types.EpochTime)<br></div></blockquote></div><br>I had been wondering about the claim that it had an Integral instance,.. it has Num but not Integral.</div><div class="gmail_extra"><br></div><div class="gmail_extra">It *does* have an Enum instance, so fromEnum shoiuld work.<br><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>