Hi Sergei,
I think you should use {-# OVERLAPPABLE #-}: see the description here
https://ghc.haskell.org/trac/ghc/ticket/9242#comment:16 which is probably
in the manual somewhere too.
Regards,
Adam
On Thu, May 21, 2015 at 9:40 AM, Sergei Meshveliani mech...@botik.ru
wrote:
People,
I wrote
It seems like haddock's index.html generation is broken in 7.10.1.
Namely, it creates links to e.g. Codec-Binary-UTF8-Generic.html when
it should be to utf8-string-1/html/Codec-Binary-UTF8-Generic.html
This is haddock 2.16.0, which comes with the binary distribution for 7.10.1.
I looked at
False alarm. I am sorry.
This was an unexpected ghc-7.8.2 intrusion instead of 7.10.1.
The only remaining question is, so far -- of how to find all the needed
places in docon-2.12 to set OVERLAPPING, what errors are possible in
this matter.
--
Sergei
On Thu, 2015-05-21 at 15:00 +0300,
Please, what is wrong here?
---
module OI where
class Foo a where foo :: a - Bool
instance Foo Bool where foo _ = True
data C a = C a
instance {-# OVERLAPPING #-} Foo a = Foo (C a) where foo (C a) = foo a
instance {-# OVERLAPPING #-}
Hi Evan,
This was due to bug #10206 - https://ghc.haskell.org/trac/ghc/ticket/10206
It should already be fixed in the STABLE branch and will be part of 7.10.2.
On Thu, May 21, 2015 at 12:49 PM, Evan Laforge qdun...@gmail.com wrote:
It seems like haddock's index.html generation is broken in
People,
I wrote recently about finding places to set {-# OVERLAPPING #-}
when porting an application from 7.8.2 to 7.10.1.
I am doing this for porting docon-2.12 from 7.8.2 to 7.10.1.
And ghc-7.10.1 indeed helped me to find several places to set this
pragma (instead of using the total key
Glad to hear. I guess I should have tested the release candidate.
Next time I will!
On Thu, May 21, 2015 at 2:30 PM, Austin Seipp aus...@well-typed.com wrote:
Hi Evan,
This was due to bug #10206 - https://ghc.haskell.org/trac/ghc/ticket/10206
It should already be fixed in the STABLE branch