package bap-std

  1. Overview
  2. Docs
The Binary Analysis Platform Standard Library

Install

Dune Dependency

Authors

Maintainers

Sources

v2.2.0.tar.gz
sha256=7c6d0dfe2640e800829617dd150ffe748493fe3f317ed41be44312b2821deb46
md5=5dbc6677d646bec59fd7414f23e88cf8

doc/bap/Bap/Std/Bili/Make/argument-1-M/Exn/index.html

Module M.Exn

Interacting between monads and language exceptions

val expect : ?finally:(unit -> (unit, 's) t) -> f:(unit -> ('a, 's) t) -> catch:(exn -> ('a, 's) t) -> ('a, 's) t

expect ?finally ~f ~catch evaluates f (), if an exception e is raised during the evaluation (or call) then the result of whole computation will be catch e. If an optional argument ?finally is passed the finally is called after f () computation or after catch e if an exception was raised.

OCaml

Innovation. Community. Security.