package ecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t =
  1. | Returns of 'a Ecaml_value.Value.Type.t
    (*

    Returns_unit_deferred is meant to be used for interactive commands directly called by the user. It is restricted to functions returning unit Deferred.t to encourage this use case. Calling such a function from within async raises. Restricting Returns_unit_deferred to top-level interactive commands makes it less likely that this situation will occur.

    *)
  2. | Returns_unit_deferred : unit Async_kernel.Deferred.t t
val sexp_of_t : ('a -> Ppx_sexp_conv_lib.Sexp.t) -> 'a t -> Ppx_sexp_conv_lib.Sexp.t