val hash : t ‑> intval of_int : int ‑> tval of_bool : bool ‑> tval of_unit : tof_variant name args is used to encode algebraic variants
into a S-expr. For instance of_variant "some" [of_int 1]
represents the value Some 1.
val to_buf : Buffer.t ‑> t ‑> unitval to_string : t ‑> stringval to_file : string ‑> t ‑> unitval to_chan : Pervasives.out_channel ‑> t ‑> unitA parser of 'a can return Yield x when it parsed a value,
or Fail e when a parse error was encountered, or
End if the input was empty.
module Decoder : sig ... endParse a S-expression from the given channel. Can read more data than necessary, so don't use this if you need finer-grained control (e.g. to read something else after the S-exp).