package rpclib

  1. Overview
  2. Docs
A library to deal with RPCs in OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rpclib-10.2.0.tbz
sha256=37ec4a4dd53fcb2d38d846415d3a45976d5a78c1531e6d876db2436e947172f3
sha512=4757df16d7cf2220787e2a6532e47130049894741ae1635e017cd583f28c5e55c016768d992c6739da70b29283141070f974f246b1ef467e64b034c5c231b00a

doc/rpclib.core/Idl/Make/T/index.html

Module Make.TSource

The module !T, the RPC MONAD transformer, defines the minimal set of types and functions needed for the !GenClient and !GenServer modules to generate clients and servers. These allow to provide different syncronous and asynctronous engines for the client and server implementations.

Sourcetype 'a box
Sourcetype ('a, 'b) resultb = ('a, 'b) Result.t box
Sourceval lift : ('a -> 'b M.t) -> 'a -> 'b box
Sourceval bind : 'a box -> ('a -> 'b M.t) -> 'b box
Sourceval return : 'a -> 'a box
Sourceval get : 'a box -> 'a M.t
Sourceval (!@) : 'a box -> 'a M.t
Sourceval put : 'a M.t -> 'a box
Sourceval (~@) : 'a M.t -> 'a box