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.
_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to