package containers

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module CCParse.Debug_Source

Debugging utils. EXPERIMENTAL

  • since 3.6
Sourceval trace_fail : string -> 'a t -> 'a t

trace_fail name p behaves like p, but prints the error message of p on stderr whenever p fails.

  • parameter name

    used as a prefix of all trace messages.

Sourceval trace_success : string -> print:('a -> string) -> 'a t -> 'a t

trace_success name ~print p behaves like p, but prints successful runs of p using print.

Sourceval trace_success_or_fail : string -> print:('a -> string) -> 'a t -> 'a t

Trace both error or success

OCaml

Innovation. Community. Security.