struct
type t = {
allow_empty_lines: bool;
sharp_comments: bool;
}
with sexp
let default = {allow_empty_lines = false; sharp_comments = true}
let to_string t = sexp_of_t t |> Sexplib.Sexp.to_string
let of_string s =
try Ok (Sexplib.Sexp.of_string s |> t_of_sexp)
with e -> module_error (`tags_of_string e)
end