Help with a Shootout program

Simon Marlow simonmar at
Fri Feb 25 10:29:06 EST 2005

On 25 February 2005 13:46, Alson Kemp wrote:

>> Welcome to the club :-)
> 	I tried Simon's version, but it throws a "Fail: Ix{Int}.index:
> (5) out of range ((0,4))" error.  Haven't tracked down the cause yet.
> 	So I guess that the upshot is just that "GHC is slow on this
> Is lazy evaluation what is slowing this down so badly?

There's no fundamental problem here.  We just need decent support for
packed strings and hash tables (or tries?) of them.


More information about the Glasgow-haskell-users mailing list