[Haskell-beginners] A first try

David Place d at vidplace.com
Mon Jun 27 17:35:24 CEST 2011



On Jun 27, 2011, at 9:58 AM, Manfred Lotz wrote:

> Thanks a lot for the suggestion. Works fine.
> 
> I only tried deepseq because my first try with seq 
> 
> let content = xml `seq` parseXMLDoc xml
> 
> didn't work. 


Have you considered using ByteStrings for your application.  There, hGetContents is strict.  Also, you will benefit from more efficient string operations.


More information about the Beginners mailing list