On Wed, Sep 16, 2015 at 7:19 AM, Bram Neijt <bneijt@gmail.com> wrote:
If I use
    return (toInteger mtime)
I get
    src/Main.hs:21:13:
        No instance for (Integral System.Posix.Types.EpochTime)

I had been wondering about the claim that it had an Integral instance,.. it has Num but not Integral.

It *does* have an Enum instance, so fromEnum shoiuld work.

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net