package github

  1. Overview
  2. Docs

Functions corresponding to direct API requests return Response.t values inside of Monad.t values so that more information about the request can be made available. Monad.(>>~) is a convenience operator that lets you bind directly to the carried value.

type 'a t = private < value : 'a.. >

'a t is an API response containing a payload of type 'a. Do not refer to this type explicitly as its identity and representation are subject to change (e.g. a family of object types may replace it before 2.0).

val value : < value : 'a.. > -> 'a

value r is the payload in response r.