package protocell
A Protobuf plugin for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
protocell-1.0.0.tbz
sha256=8296a7b386ad3ceb5e815374e8e4aa608d618869988b6f89b354c46225582fa8
sha512=7e3c758ac59b3a52aa523e1939103e8b4ad6adf8801df0a4bb1f947650e6f626c83ae7c55f1d114bbb652114fd46e88a7ed4835079ba70eaeb137220aefc3189
doc/src/protocell.runtime/types.ml.html
Source file types.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
open Base type 'sort decoding_error = [ `Wrong_value_sort_for_string_field of 'sort * string Field_value.typ | `Wrong_value_sort_for_int_field of 'sort * int Field_value.typ | `Wrong_value_sort_for_float_field of 'sort * float Field_value.typ | `Wrong_value_sort_for_bool_field of 'sort * bool Field_value.typ | `Wrong_value_sort_for_user_field of 'sort | `Wrong_value_sort_for_enum_field of 'sort | `Unrecognized_enum_value | `Multiple_oneof_fields_set | `Integer_outside_int_type_range of int64 ] type 'v value = 'v Field_value.t type 'v typ = 'v Field_value.typ module type Encoding = sig type t type sort val encode_string : string value -> t val decode_string : string typ -> t -> (string, [> sort decoding_error]) Result.t val encode_int : int value -> t val decode_int : int typ -> t -> (int, [> sort decoding_error]) Result.t val encode_float : float value -> t val decode_float : float typ -> t -> (float, [> sort decoding_error]) Result.t val encode_bool : bool value -> t val decode_bool : bool typ -> t -> (bool, [> sort decoding_error]) Result.t end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>