Hugs 1.4, The Nottingham and Yale Haskell User's System. Version 970719.
The input parser can't cope with long literate lists. With 337000 free
heap cells, the parser cannot read a list of 795 1's of type Int or
Integer, *sometimes* of type Double. Long lists of Bool or () are Ok.
Doesn't seem like much, but it might point to something ugly.
TripReport> :gc
{{Gc:336528}}Garbage collection recovered 336528 cells
TripReport> read (show (take 795 (repeat 1))) :: [Int]
{{Gc:288538}}{{Gc:284944}}{{Gc:310438}}[1, 1, 1, 1, ...]
(581471 reductions, 1014967 cells, 3 garbage collections)
{{Gc:337317}}TripReport> :gc
{{Gc:337319}}Garbage collection recovered 337319 cells
TripReport> [1, 1, 1, 1, ... (795 of 'em)]
{{Gc:19}}ERROR: Garbage collection fails to reclaim sufficient space
TripReport>
What's even stranger (to a layman, that is ;-) is that sometimes it
only works the 3rd time!
{{Gc:337038}}TripReport> :gc
{{Gc:337038}}Garbage collection recovered 337038 cells
TripReport> [1, 1, 1, 1, ...1] :: [Double]
{{Gc:910}}ERROR: Garbage collection fails to reclaim sufficient space
TripReport> [1, 1, 1, 1, ...] :: [Double]
{{Gc:822}}ERROR: Garbage collection fails to reclaim sufficient space
TripReport> [1, 1, 1, 1, ...] :: [Double]
{{Gc:333316}}[1.0, 1.0, 1.0,...]
(2755 reductions, 6325 cells)
{{Gc:337038}}TripReport>
--
Fabrice Lavier <[EMAIL PROTECTED]>