To focus the search input from anywhere on the page, press the 'S' key.
in-package search v0.1.0
ppx extension for rpclib
Install
Authors
Maintainers
Sources
v5.9.0.tar.gz
md5=177db71621a7aa7a55cbea6c237eb6dc
Description
The library provides the [@@deriving rpc]
ppx directly
generates the conversion functions.
type t = ... [@@deriving rpc]
will give two functions:
-
A function to convert values of type
t
to values of typeRpc.t
:val rpc_of_t : t -> Rpc.t
-
A function to convert values of type
Rpc.t
to values of typet
:val t_of_rpc : Rpc.t -> (t,string) Result.result
It also supports the @key
annotations for having different field names:
type t = { foo: int [@key "type"]; bar: int [@key "let"]; } [@@deriving rpc]
Dependencies (8)
Dev Dependencies (5)
-
alcotest
with-test
-
async
with-test
-
lwt
with-test & >= "3.0.0"
-
rpclib-async
with-test & = version
-
rpclib-lwt
with-test & = version
Used by (4)
-
crc
>= "2.1.0"
-
rpc
= "5.9.0"
-
xapi-backtrace
>= "0.7"
-
xapi-rrd
= "1.8.2"
Conflicts
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page