Malcolm Wallace (malcolm-nhc@cs.york.ac.uk)
Tue, 20 Jun 2000 12:09:19 +0100
> Prelude> :load Main > [Std module... /usr/local/include/nhc98/Prelude.hi] > [Found module... Main.hs] > Main> main > List: Pattern match failure in function at 4:1. It turns out that this is a bug in nhc98's implementation of the function List.isPrefixOf. I think either you typed an extra space, like "main ", or Windows is adding a spurious linefeed character to the end of the string for you. In any case, nhc98 is wrong here, and will be fixed in the next release. Regards, Malcolm