[Haskell-cafe] Converting CTime -> Int
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Wed May 16 00:40:03 EDT 2007
On May 16, 2007, at 0:37 , Stefan O'Rear wrote:
> On Tue, May 15, 2007 at 11:35:52PM -0500, Rob Hoelz wrote:
>> I've poured over the standard library docs, but to no avail. Could
>> someone give me a hint?
>
> fromIntegral
No instance for (Integral CTime)
arising from a use of `fromIntegral' at <interactive>:1:0-24
Possible fix: add an instance declaration for (Integral CTime)
In the expression: fromIntegral (0 :: CTime)
In the definition of `it': it = fromIntegral (0 :: CTime)
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
More information about the Haskell-Cafe
mailing list