Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Github.MonadAll API requests are bound through this monad which encapsulates an Lwt cooperative thread and includes some state which may be set via API functions.
'a t is an Lwt thread sensitive to GitHub API state.
bind m f is the eventual value of f applied to the contents of m. Its argument order is designed for currying.
map f m is bind m (fun x -> return (f x)). Its argument order is designed for currying.
m >>~ f is m >|= {!Response.value} >>= f.
catch try with is the result of trying try. If try succeeds, its result is returned. If try raises an exception, with is applied to the exception and the result of with is returned.
run m is the Lwt thread corresponding to the sequence of API actions represented by m. Once a t has been run, any GitHub API state such as associated default security tokens or declared user agent string will not be available in subsequently bound functions.