package mdx

  1. Overview
  2. Docs

Parameters

module Input : Input

Signature

val parse : Input.t -> (Sexp.t, string) Result.result Input.Monad.t

Read exactly one canonical S-expressions from the input. Note that this function never raises End_of_file. Instead, it returns Error.

val parse_many : Input.t -> (Sexp.t list, string) Result.result Input.Monad.t

Read many S-expressions until the end of input is reached.

OCaml

Innovation. Community. Security.