The previous type signature was attempting to read the Connection off of the m in WebSocketsT m, rather than the WebSocketsT itself. This was likely a typo that happened to type-check. The types for these now align with the rest of the API, read the Connection off of WebSocketsT, and make no demands of the m other than MonadIO. Fixes #1599. |
||
|---|---|---|
| .. | ||
| WebSockets.hs | ||