[Haskell-cafe] Byte Histogram

Daniel Fischer daniel.is.fischer at googlemail.com
Thu Feb 3 23:34:19 CET 2011

On Thursday 03 February 2011 23:19:31, Johan Tibell wrote:
> Hi,
> For what it's worth I saw the problems in your counting examples right
> away, without reading the explanatory text below.

Yes, they were pretty obvious with enough experience. For beginners I 
expect it to be a rather insidious trap.

> Hopefully that means
> that it's possibly to learn how to spot such things without resorting
> to e.g. running the program or reading Core *gasp*.

Within limits. Detrimental laziness or strictness can be arbitrarily well 

More information about the Haskell-Cafe mailing list