We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This way we could report failures back. The Channel module already uses the Either monad:
Channel
Either
getChannelInfo :: (Pusher, Channel, [Info]) -> IO (Either String ChannelInfo)
But the Event module does not:
Event
triggerEvent :: (Pusher, Channel, Event) -> IO String
Probably can unify both by introducing ExceptT?
ExceptT
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This way we could report failures back. The
Channel
module already uses theEither
monad:But the
Event
module does not:Probably can unify both by introducing
ExceptT
?The text was updated successfully, but these errors were encountered: