package ppxlib

  1. Overview
  2. Docs
Standard infrastructure for ppx rewriters

Install

dune-project
 Dependency

Authors

Maintainers

Sources

2e150834476230e99e48dfdf34c5e4a1ea6e749b.tar.gz
sha256=591d694609fed01783c9f360602e8660ae0e49eb33b7074c1317a261e00c6cdb
sha512=e15e956a114ab3f61dfa8f7eceed088082a116f3b6fc832b901729f611258af3b39bda748b2046b4886f429617aa64802f90e0520db82302443ecbba461970b2

doc/ppxlib.stdppx/Stdppx/Result/index.html

Module Stdppx.ResultSource

Sourceval bind : ('a, 'b) result -> f:('a -> ('c, 'b) result) -> ('c, 'b) result
Sourceval map : ('a, 'b) result -> f:('a -> 'c) -> ('c, 'b) result
Sourceval map_error : ('a, 'b) result -> f:('b -> 'c) -> ('a, 'c) result
Sourceval (>>=) : ('a, 'b) result -> ('a -> ('c, 'b) result) -> ('c, 'b) result
Sourceval (>>|) : ('a, 'b) result -> ('a -> 'c) -> ('c, 'b) result
Sourceval handle_error : ('a, 'b) result -> f:('b -> 'a) -> 'a