package rocq-runtime
Module Proofview.NonLogicalSource
The NonLogical module allows the execution of effects (including I/O) in tactics (non-logical side-effects are not discarded at failures).
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.