Inliner non-termination

Ron Alford ronwalf at volus.net
Wed Sep 7 03:05:48 CEST 2011


On Tue, Sep 6, 2011 at 7:50 PM, Felipe Almeida Lessa
<felipe.lessa at gmail.com> wrote:
> This doesn't solve GHC's bug, but can you do something like
>
>  myFuncEq = funcEq
>  {-# NOINLINE myFuncEq #-}
>
> and just use myFuncEq everywhere?  This should make the change local
> to your module.

Unfortunately not.  The only time I use funcEq in the code in question
is the instance declaration.

-Ron Alford



More information about the Glasgow-haskell-users mailing list