package ppx_expect

  1. Overview
  2. Docs
Cram like framework for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=6cb403d7d59f7451f1d5a94838ca46902991fc7bb43e5342b620fc73ab99bd94

doc/ppx_expect.runtime/Ppx_expect_runtime/Delimiter/index.html

Module Ppx_expect_runtime.DelimiterSource

Sourcetype _ 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.

Sourcetype t =
  1. | T : _ unpacked -> t
Sourceval default : t

Default delimiter: T (Tag "").

Sourceval 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.