package orsetto
A library of assorted structured data interchange languages
Install
dune-project
Dependency
Authors
Maintainers
Sources
r1.1.tar.gz
sha256=6e6f59fc6a2c590b1b377e40f2120a548e6f09e61e7eb12ffa45cf2d517316b8
md5=533153cd4a9fe8093d3b98afc1073bc8
doc/orsetto.cbor/Cbor_encode/Render/index.html
Module Cbor_encode.Render
A submodule to encapsulate functions for use with data rendering models.
class 'a deterministic_index : ?model:'a Cf_data_render.model -> 'a Cf_type.nym -> 'a Cf_data_render.index
Use new index p
to compose indexes for tables and structures encoded as CBOR maps with keys sorted in deterministic order. Use the ~model
parameter to provide the data model for keys that are not primitive.
val tagged : int64 -> 'v Cf_data_render.model -> 'v Cf_data_render.model
Use tagged n m
to make a data rendering model that applies the CBOR tag n
to the data rendered by m
. Such models can only be rendered into encoding schemes by the scheme
function for CBOR (see below).
val scheme : 'v Cf_data_render.model -> 'v Cf_encode.scheme
Use scheme m
to make an encoding scheme for values according to an abstract data model m
.
val packet : 'v Cf_data_render.model -> 'v -> unit t
Use packet m v
to make the CBOR encoding of v
according to the data render model m
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>