package rocq-runtime
Module Logic_monad.NonLogicalSource
The non-logical monad is a simple unit -> 'a (i/o) monad. The operations are simple wrappers around corresponding usual operations and require little documentation.
Pervasives.raise. Except that exceptions are wrapped with Exception.
try ... with ... but restricted to Exception.
Source
val alloc_limit :
Control.kilowords ->
'a t ->
('a * Control.kilowords, Exninfo.info) result tConstruct a monadified side-effect. Exceptions raised by the argument are wrapped with Exception.