package osnap

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t = {
  1. printer : 'a printer;
  2. encoding : 'a Data_encoding.t option;
}
val unit : unit t

unit t

val bool : bool t

bool t

val float : float t

float t

val int : int t

int t

val char : char t

char t

val string : string t

string t

val option : 'a t -> 'a option t

option t creates an option t for t

val array : 'a t -> 'a array t

array t creates an array t for t

val list : 'a t -> 'a list t

list t creates a list t for t

val build : ?encoding:'a encoding -> 'a printer -> 'a t

build ?encoding printer builds an 'a result with optionally an encoding

OCaml

Innovation. Community. Security.