[Haskell-cafe] Looping after compiling with cabal
Wolfgang Jeltsch
g9ks157k at acme.softbase.org
Tue Feb 17 07:34:34 EST 2009
Am Montag, 16. Februar 2009 21:33 schrieb Henk-Jan van Tuyl:
> On Mon, 16 Feb 2009 14:56:01 +0100, Wolfgang Jeltsch
>
> <g9ks157k at acme.softbase.org> wrote:
> > Am Montag, 16. Februar 2009 13:07 schrieb Neil Mitchell:
> >> Hi Henk-Jan,
> >>
> >> I believe cabal adds a -O on the command line, perhaps try ghc --make
> >> -O (after deleting all object files)
> >
> > If it’s the -O option what causes the loop then it is problably because
> > of
> > this:
> >
> > <http://hackage.haskell.org/trac/ghc/ticket/2722>
> >
> > Best wishes,
> > Wolfgang
>
> It is the -O option. How do I get/install the patch mentioned in this
> ticket?
My workaround is to change the source which is compiled. Instead of the method
implementation
id = arr id,
I use the implementation
id = arr Prelude.id.
Best wishes,
Wolfgang
More information about the Haskell-Cafe
mailing list