Package: hugs
Version: 98.200503.08-1
Severity: normal

I'm getting this error:

ERROR "/home/jgoerzen/tree/projects/missingh/MissingH/IO/HVFS.hs":199 - 
Implementation of vGetModificationTime requires extra context
*** Expected type   : HVFS a => a -> FilePath -> IO ClockTime
*** Missing context : Integral CTime

That corresponds the third line of code in this snippet:

    vGetModificationTime fs fp = 
        do s <- vGetFileStatus fs fp
           return $ TOD (fromIntegral (withStat s vModificationTime)) 0
    
The type of (withStat s vModificationTime) is EpochTime, which is
defined in System.Posix.Types as:

type EpochTime      = CTime

This code worked in the previous version of Hugs.  It seems that CTime
is no longer Integral, but I don't know why.


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages hugs depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libncurses5                 5.4-4        Shared libraries for terminal hand
ii  libreadline4                4.3-15       GNU readline and history libraries

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to