> When I compile the following short part of a program using ghc-2.01,
> I encounter a compiler bug. I am not sure that it is the one you ask
> programmers using the compiler to report. It sounds to me as if the
> compiler doesn't support the use of the expression 'let' in list
> compression.
Yes, its a 2.01 bug. You'd be much better off with 2.05... though there aren't
binary distributions for it I'm afraid. We do plan a full binary release in
a few weeks; otherwise you could try building 2.05.. it's not too hard.
Simon