Module CConvSexp

module CConvSexp: sig .. end

Interface to Sexplib



type 'a or_error = [ `Error of string | `Ok of 'a ] 
type t = Sexplib.Sexp.t = 
| Atom of string
| List of t list
val target : t CConv.Encode.target
val source : t CConv.Decode.source
val encode : 'src CConv.Encode.encoder -> 'src -> t
val decode_exn : 'into CConv.Decode.decoder -> t -> 'into
val decode : 'into CConv.Decode.decoder -> t -> 'into or_error
val to_string : 'a CConv.Encode.encoder -> 'a -> string
val of_string : 'a CConv.Decode.decoder -> string -> 'a or_error
val of_string_exn : 'a CConv.Decode.decoder -> string -> 'a
val sexp_to_string : t -> string