I had a similar problem, I solved it by using the development version of hs-plugins (ie. darcs get --set-scripts-executable http://www.cse.unsw.edu.au/~dons/code/hs-plugins)

On 02/10/2007, Brandon S. Allbery KF8NH <allbery@ece.cmu.edu> wrote:

On Oct 1, 2007, at 21:59 , Björn Buckwalter wrote:

> Dear all,
>
> I'm getting a rather unfriendly error when trying to load a plugin
> with hs-plugins:
>
>     my_program: Ix{Int}.index: Index (65536) out of range ((0,7))

This tends to mean that hs-plugins doesn't understand the format of
the .hi (compiled haskell module interface) file, which happens every
time a new ghc is released.  Likely it's not been ported to work with
6.6.1 yet.

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe



--
-Jeeva