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 (
Control/Concurrent/CHP/Test.hs, dist/build/Control/Concurrent/CHP/Test.o )
[2 of 9] Compiling Control.Concurrent.CHP.Console (
Control/Concurrent/CHP/Console.hs, dist/build/Control/Concurrent/CHP/Console.o )
[3 of 9] Compiling Control.Concurrent.CHP.Connect (
Control/Concurrent/CHP/Connect.hs, dist/build/Control/Concurrent/CHP/Connect.o )
Control/Concurrent/CHP/Connect.hs:146:67:
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)'
Control/Concurrent/CHP/Connect.hs:152:67:
Couldn't match expected type `ChanOpts a'
against inferred type `ConnectableParam (Chanin a)'
In the first argument of `oneToOneChannel'', namely `o'
In the second argument of `(<$>)', namely `oneToOneChannel' o'
In the first argument of `(>>=)', namely
`((reader &&& writer) <$> oneToOneChannel' o)'
etc.
--
Colin Adams
Preston Lancashire
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe