package solid

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t = {
  1. to_term : ?with_doc:bool -> Rdf.Graph.graph -> 'a -> Rdf.Term.term;
  2. from_term : ?def:'a -> Rdf.Graph.graph -> Rdf.Term.term -> 'a;
}
val make : (?with_doc:bool -> Rdf.Graph.graph -> 'a -> Rdf.Term.term) -> (?def:'a -> Rdf.Graph.graph -> Rdf.Term.term -> 'a) -> 'a t
val int : int t
val float : float t
val bool : bool t
val string : string t
val typed_string : Iri.t -> string t
val string_ : ?typ:Iri.t -> ('a -> string) -> (string -> 'a) -> 'a t
val iri : Iri.t t
val list : ?typ:Iri.t -> 'a t -> 'a list t
val option : 'a t -> 'a option t
val pair : 'a t -> 'b t -> ('a * 'b) t
val triple : 'a t -> 'b t -> 'c t -> ('a * 'b * 'c) t