ANNOUNCE: GHC 7.0.1 Release Candidate 1

Daniel Fischer daniel.is.fischer at web.de
Wed Sep 29 11:58:14 EDT 2010


On Wednesday 29 September 2010 16:51:35, Antoine Latter wrote:
> Here's a boiled-down equivalent to what the issue is in uvector:
>
> http://hpaste.org/40213/doesnt_work_in_ghc_7
>
> In GHC 6.12, this would have type-checked. In GHC 7, I need to add a
> type-signature to the 'helper' function, except I 'm not sure how to
> do it.
>
> So the function in uvector might need a larger refactoring.
>
> Antoine

It works if you define helper inside the runST via a let (no type 
signature).
I suspect that would become a larger refactoring in uvector, but at least 
there's a simple way.


More information about the Glasgow-haskell-users mailing list