You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seen on the Stackage build server, reproduced locally. Numerous errors mostly following the format of these:
/Users/dan/scratch/websockets-rpc-0.6.0/src/Network/WebSockets/RPC.hs:366:53: error:
• Expecting one fewer arguments to ‘Either
(Reply rep) (Complete com)’
Expected kind ‘* -> *’,
but ‘Either (Reply rep) (Complete com)’ has kind ‘*’
• In the first argument of ‘WebSocketsApp’, namely
‘(Either (Reply rep) (Complete com))’
In the first argument of ‘m’, namely
‘(WebSocketsApp (Either (Reply rep) (Complete com)) (Either (Subscribe sub) (Supply sup)) m)’
In the type signature:
execWebSocketServerRPCTSimple :: (MonadBaseControl IO m) =>
WebSocketsApp (Either (Reply rep) (Complete com)) (Either (Subscribe sub) (Supply sup)) (WebSocketServerRPCT sub sup m)
-> m (WebSocketsApp (Either (Reply rep) (Complete com)) (Either (Subscribe sub) (Supply sup)) m)
|
366 | -> m (WebSocketsApp (Either (Reply rep) (Complete com)) (Either (Subscribe sub) (Supply sup)) m)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/Users/dan/scratch/websockets-rpc-0.6.0/src/Network/WebSockets/RPC.hs:366:126: error:
• Expecting one more argument to ‘m’
Expected a type, but ‘m’ has kind ‘* -> *’
• In the third argument of ‘WebSocketsApp’, namely ‘m’
In the first argument of ‘m’, namely
‘(WebSocketsApp (Either (Reply rep) (Complete com)) (Either (Subscribe sub) (Supply sup)) m)’
In the type signature:
execWebSocketServerRPCTSimple :: (MonadBaseControl IO m) =>
WebSocketsApp (Either (Reply rep) (Complete com)) (Either (Subscribe sub) (Supply sup)) (WebSocketServerRPCT sub sup m)
-> m (WebSocketsApp (Either (Reply rep) (Complete com)) (Either (Subscribe sub) (Supply sup)) m)
|
366 | -> m (WebSocketsApp (Either (Reply rep) (Complete com)) (Either (Subscribe sub) (Supply sup)) m)
| ^
Here's how I reproduced:
$ stack unpack websockets-rpc-0.6.0 &&cd websockets-rpc-0.6.0
$ edit stack.yaml # add the following stack.yaml
$ stack build
Seen on the Stackage build server, reproduced locally. Numerous errors mostly following the format of these:
Here's how I reproduced:
The text was updated successfully, but these errors were encountered: