package ppx_expect

  1. Overview
  2. Docs
type _ unpacked =
  1. | Quote : Ppx_expect_runtime__.Types.String_node_format.longhand unpacked
    (*

    Quoted strings, e.g. "foo".

    *)
  2. | Tag : Base.string -> _ unpacked
    (*

    Tagged strings, e.g. {tag|foo|tag}.

    *)

Delimiter around string constant.

type t =
  1. | T : _ unpacked -> t
val default : t

Default delimiter: T (Tag "").

val handed : t -> 'a Ppx_expect_runtime__.Types.String_node_format.Hand.t -> 'a unpacked

If given Quoted and Shorthand, produces Tag "". In any other case, produces the given delimiter.

OCaml

Innovation. Community. Security.