package ppx_expect

  1. Overview
  2. Docs

A now-legacy monad. This signature used to declare a flush function. [%expect.output] still returns this type. No meaningful monadic work is done.

type 'a t = 'a
val return : 'a -> 'a t
val bind : 'a t -> f:('a -> 'b t) -> 'b t
val to_run : 'a t -> 'a IO_run.t