
7 Jun
2007
7 Jun
'07
2:46 p.m.
David Waern wrote:
This line of code using the System.Time library crashes with ghc-6.6.1 in Windows XP:
print (TOD 12387213982173921131231231 0)
TOD is a constructor that creates a ClockTime. The crash seems to happen when a ClockTime with a large enough TOD is show'ed.
Is this a known bug?
System.Time should probably be deprecated. The time package (Data.Time) is less likely to crash as much more of the code is written in Haskell rather than C. -- Ashley Yakeley