package ppx_diff

  1. Overview
  2. Docs
type 'a t
val none : _ t
val return : 'a -> 'a t
val map : 'a t -> f:('a -> 'b) -> 'b t
val bind : 'a t -> f:('a -> 'b t) -> 'b t
val both : [ `both_would_allocate__use_bind_instead ]
val (>>|) : 'a t -> ('a -> 'b) -> 'b t
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
val is_none : 'a t -> Base.bool
val unsafe_value : 'a t -> 'a
val to_option : 'a t -> 'a Base.option
module Optional_syntax : sig ... end
module Let_syntax : sig ... end
OCaml

Innovation. Community. Security.