[Haskell-cafe] Where's the error in this snippet of code?

Tom Pledger tpledger at ihug.co.nz
Thu Mar 25 08:47:20 EST 2004

Stefan Holdermans wrote:

>  AG> Ignore the layout
>  AG> I can't find the error, running it gives parse error during 
>  AG> compile on pStack, it is not very descriptive and I don't 
>  AG> what is wrong.
>Well, ignoring the layout is not a good thing here, since that's the one of
>the causes for your program to not compile.

Just going off on a short tangent here...

Perhaps Alex meant that pStack is local to some other top level 
declaration (not digStack), but that the rest of that decl was 
irrelevant and omitted from the question?


More information about the Haskell-Cafe mailing list