rpc-framework icon indicating copy to clipboard operation
rpc-framework copied to clipboard

Fails to build with ghc-7.8

Open leonbaum opened this issue 11 years ago • 2 comments

src/Network/Remote/RPC/Internal/Runtime.hs:158:10:
    Illegal instance declaration for
      `Receivable m (a -> b) m' (a' -> WIO w' m' b')'
      The liberal coverage condition fails in class `Receivable'
        for functional dependency: m' a -> a'
      Reason: lhs types m', `a -> b'
        do not jointly determine rhs type a' -> WIO w' m' b'
    In the instance declaration for
      `Receivable m (a -> b) m' (a' -> WIO w' m' b')'

leonbaum avatar Apr 06 '14 15:04 leonbaum

:+1: Happens to me too.

donatello avatar Oct 21 '14 10:10 donatello

Yeah, I was kinda relying on a bug in an older version of ghc that failed to do the coverage check for functional dependencies in the presence of overlapping instances. I'm actively searching for another work around.

mmirman avatar Nov 29 '16 04:11 mmirman