[email protected]
[Top] [All Lists]

Re: [Haskell-cafe] Performance of functional priority queues

Subject: Re: [Haskell-cafe] Performance of functional priority queues
From: Jon Harrop
Date: Mon, 28 Dec 2009 18:34:54 +0000
On Monday 28 December 2009 17:11:14 Gautam bt wrote:
> On Sat, Dec 26, 2009 at 12:49 AM, Svein Ove Aas <[email protected]> wrote:
> > Lazyness can be considered to be a controlled form of mutation
>
> Can someone explain why this is true (or link me to an explanation)?

Forcing the evaluating of a thunk replaces the unevaluated expression with the 
value it evaluates to. That is effectively in-place mutation.

-- 
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

<Prev in Thread] Current Thread [Next in Thread>