> I have to ask for your help on general approaches to write Haskell > programs using space more economically. Jan Sparud had a paper at FPCA'93 which dealt with this matter. Consult this paper, it may give hints on how to tackle your problems: Reference: Jan Sparud, Fixing Some Space Leaks without a Garbage Collector, FPCA'93, 117-124 -- Dirk