
27 Jul
2011
27 Jul
'11
1:39 a.m.
Hi! On Wed, Jul 27, 2011 at 11:19:03AM +1000, Arlen Cuss wrote:
(Of course, this is less beautifully illustrated with 'length', because it doesn't actually evaluate the values ...:
length [trace "a" 5, trace "b" 10, trace "c" 15] == 0 False
Oh, excuse me - yes, 'length' really doesn't evaluate the values. But still, it *builds* the list (that may be very large or even infinite), thus slowing or even hanging your program. -- Regards, Alexander Batischev 1024D/69093C81 F870 A381 B5F5 D2A1 1B35 4D63 A1A7 1C77 6909 3C81