package picos
Pico scheduler framework
Install
Dune Dependency
Authors
Maintainers
Sources
picos-0.3.0.tbz
sha256=544804c0bde4b29764f82f04e7defed7c06bc43e5a6ce3f7fdc326cb54a7f066
sha512=4c93427e477fb52374a554a8b9c4c92836a9b5899161275d1473269ab526a1f59177209140631ed763a55be375855dea12f076e18bf4124522414986c0e257be
doc/picos.exn_bt/Picos_exn_bt/index.html
Module Picos_exn_bt
Source
Wrapper for exceptions with backtraces.
An exception and a backtrace.
get_callstack n exn
is equivalent to { exn; bt = Printexc.get_callstack n }
.
Note that Printexc.get_callstack 0
effectively returns a constant value and this function is optimized to take that into account.
raise exn_bt
is equivalent to Printexc.raise_with_backtrace exn_bt.exn exn_bt.bt
.
discontinue k exn_bt
is equivalent to Effect.Deep.discontinue_with_backtrace k exn_bt.exn exn_bt.bt
.
Source
val discontinue_with :
('a, 'b) Effect.Shallow.continuation ->
t ->
('b, 'c) Effect.Shallow.handler ->
'c
discontinue_with k exn_bt h
is equivalent to Effect.Shallow.discontinue_with_backtrace k exn_bt.exn exn_bt.bt h
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>