package bap-std
The Binary Analysis Platform Standard Library
Install
Dune Dependency
Authors
Maintainers
Sources
v2.4.0.tar.gz
sha256=63ada71fa4f602bd679174dc6bf780d54aeded40ad4ec20d256df15886e3d2d5
md5=b8b1aff8c6846f2213eafc54de07b304
doc/bap/Bap/Std/Eval/Make2/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.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>