package telegraml
Module TelegramApi.ResultSource
Used for representing results of various actions where a success or failure can occur. Contains helper functions to implement a monadic and functorial interface.
Stores the return value if a function succeeded or a string if the function failed
Take the value of the result, if it succeeded, or the other argument by default and return that
Bind Successes through the given function