RE: Can't infer type (type family + element type)

2010-01-19 Thread Simon Peyton-Jones
Looks like a bug to me! I am currently elbows-deep in re-engineering GHC's entire constraint generation and solving mechanism, which will, I hope, simply solve your problem. But meanwhile can I ask a favour: submit a Trac report with the offending code in reproducible form? Then I'll be

Re: Can't infer type (type family + element type)

2010-01-19 Thread Sean Leather
Done: http://hackage.haskell.org/trac/ghc/ticket/3826 Regards, Sean On Tue, Jan 19, 2010 at 11:15, Simon Peyton-Jones simo...@microsoft.comwrote: Looks like a bug to me! I am currently elbows-deep in re-engineering GHC's entire constraint generation and solving mechanism, which will, I hope,

UTF-8 + Hsc2hs

2010-01-19 Thread Taru Karttunen
GHC 6.12.1 hsc2hs seems to have an issue with compiling sources that contain certain UTF-8 charactes in the comments. It contains code like: showCChar c= ['\\', intToDigit (ord c `quot` 64), intToDigit (ord c `quot` 8 `mod` 8),