[Haskell-cafe] Tutorial on Haskell

Bryan O'Sullivan bos at serpentine.com
Mon Apr 16 11:50:41 EDT 2007


Mark T.B. Carroll wrote:

> I'm afraid no
> examples come easily to mind, though.

Here's a simple one: reading a flattened graph from disk.  If your 
flattened representation contains forward references, you have to fix 
them up in a strict language.  In a lazy language, you can refer to 
elements you haven't yet read, eliminating that book-keeping.

	<b


More information about the Haskell-Cafe mailing list