Yes, that GHC ticket shows that this problem is well known.

Thank you.


On Fri, Aug 30, 2013 at 2:19 AM, Ben Lippmeier <b...@ouroborus.net> wrote:

>
> On 30/08/2013, at 2:38 AM, Daniel Díaz Casanueva wrote:
>
> > While hacking in one of my projects, one of my modules stopped to
> compile for apparently no reason. The compiler just freezes (like if it
> where in an infinite loop) while trying to compile that particular module.
> Since I had this problem I have been trying to reduce the problem as much
> as I could, and I came out with this small piece of code:
> >
> > > module Blah (foo) where
> >
> > > import Data.Vector (Vector)
> > > import qualified Data.Vector as V
> >
> > > foo :: (a -> a) -> Vector a -> Vector a
> > > foo f = V.fromList . V.foldl (\xs x -> f x : xs) []
>
> Probably an instance of this one:
>
> http://ghc.haskell.org/trac/ghc/ticket/5550
>
> Ben.
>
>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to