Bug#299568: hugs: CTime incompatibility with new version

2005-03-15 Thread Ross Paterson
This code worked in the previous version of Hugs. It seems that CTime is no longer Integral, but I don't know why. This was a deliberate library change, affecting all Haskell implementations. See rev. 1.22 in http://cvs.haskell.org/cgi-bin/cvsweb.cgi/fptools/libraries/base/Foreign/C/Types.hs

Bug#299568: hugs: CTime incompatibility with new version

2005-03-15 Thread John Goerzen
On Tue, Mar 15, 2005 at 10:25:42AM +, Ross Paterson wrote: This code worked in the previous version of Hugs. It seems that CTime is no longer Integral, but I don't know why. This was a deliberate library change, affecting all Haskell implementations. See rev. 1.22 in

Bug#299568: hugs: CTime incompatibility with new version

2005-03-15 Thread John Goerzen
On Tue, Mar 15, 2005 at 03:08:36PM +, Ross Paterson wrote: Couldn't it also be an Integral, using the round . realToFrac to implement it? That was Sven Panne, but ... You could use round . realToFrac to implement toInteger, but types in Integral are supposed to be, well, integral,

Bug#299568: hugs: CTime incompatibility with new version

2005-03-15 Thread Ross Paterson
On Tue, Mar 15, 2005 at 08:07:19AM -0600, John Goerzen wrote: On Tue, Mar 15, 2005 at 10:25:42AM +, Ross Paterson wrote: This code worked in the previous version of Hugs. It seems that CTime is no longer Integral, but I don't know why. This was a deliberate library change,

Bug#299568: hugs: CTime incompatibility with new version

2005-03-14 Thread John Goerzen
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 :