package yocaml

  1. Overview
  2. Docs

Provider

A node expressed as an S-expression can be used as a Provider.

include Required.DATA_PROVIDER with type t = Sexp.t
type t = Sexp.t

The type represented by the data provider.

val from_string : string -> (t, Required.provider_error) Stdlib.result

Produces a type t value from a string.

val normalize : t -> Data.t

Converts a value of type t into a value of type Yocaml.Data.t.

OCaml

Innovation. Community. Security.