[Haskell-cafe] chp-plus doesn't install
nccb2 at kent.ac.uk
Sun Mar 28 12:57:24 EDT 2010
Neil Brown wrote:
> Colin Paul Adams wrote:
>> I'm getting these errors (ghc 6.10.4 on Linux x86_64):
>> Building chp-plus-1.1.0...
>> [1 of 9] Compiling Control.Concurrent.CHP.Test (
>> dist/build/Control/Concurrent/CHP/Test.o )
>> [2 of 9] Compiling Control.Concurrent.CHP.Console (
>> dist/build/Control/Concurrent/CHP/Console.o )
>> [3 of 9] Compiling Control.Concurrent.CHP.Connect (
>> dist/build/Control/Concurrent/CHP/Connect.o )
>> Couldn't match expected type `ChanOpts a'
>> against inferred type `ConnectableParam (Chanout a)'
>> In the first argument of `oneToOneChannel'', namely `o'
>> In the second argument of `(<$>)', namely `oneToOneChannel' o'
>> In the first argument of `(>>=)', namely
>> `((writer &&& reader) <$> oneToOneChannel' o)'
> There's no conflict between the two instances, though. I wonder if
> making ConnectableParam depend on "l" and "r" would fix it. I'll look
> further into this when I get onto a 6.10.4 machine.
That did indeed turn out to be the fix. That will teach me to release a
package without remembering to test it on GHC 6.10 first. I've uploaded
chp-plus 1.2.0 to Hackage, which should fix this issue (among other
cabal update && cabal install chp-plus
Should work now. Let me know if you have any other troubles.
More information about the Haskell-Cafe