[Haskell-cafe] Haskell IDEs on Windows; gtk2hs

Daniel Fischer daniel.is.fischer at web.de
Fri Feb 12 17:08:19 EST 2010

Am Freitag 12 Februar 2010 22:45:10 schrieb Alistair Bayley:
> I thought I'd try some of the Haskell IDEs: eclipsefp, leksah, and yi.
> So far, leksah requires gtk2hs (and apparently yi can use it too?),
> and the latest gtk2hs installer for Windows doesn't like the latest
> Haskell Platform, so I'm going to try building gtk2hs from source,
> unless anyone tells me that it's a waste of time.
> Building yi fails with:
> Yi\Prelude.hs:182:9:
>     Duplicate instance declarations:
>       instance Category Accessor.T -- Defined at Yi\Prelude.hs:182:9-38
>       instance Category Accessor.T
>         -- Defined in data-accessor-
> cabal: Error: some packages failed to install:
> yi-0.6.1 failed during the building phase. The exception was:
> exit: ExitFailure 1
> Presumably data-accessor has been updated, but yi has not? What is the
> easiest fix? Downgrade to an earlier version of data-accessor?

You would need to edit the .cabal file anyway so that the older version of 
data-accessor would be used. Since you need to unpack the package and edit 
a file anyway, you might as well comment out the instance declaration in 
Yi/Prelude.hs (I think).

> So that just leaves eclipsefp. Still trying to figure out how to
> install eclipse plugins...
> Alistair

More information about the Haskell-Cafe mailing list