package rpclib

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rpclib-10.0.0.tbz
sha256=1d62cf36ff3f599286ff6c77a3266b04d9e14df73d3fce078d51ab9c4c7bad3a
sha512=9fe0bc38363c35e5ec185eadc096565f7f76e219bfde62756dee2cbc818e7663e1ce2e730a235f2bf2230a24ff52b29bcc8e1082e0a43d7e6c23f56ad74add43

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