crux-0.7: Simple top-level library for Crucible Simulation
Safe HaskellSafe-Inferred
LanguageHaskell2010

Crux.ProgressBar

Synopsis

Documentation

type ProverMilestoneStartGoal = Integer -> IO () Source #

Callback called with index when a goal is started

type ProverMilestoneEndGoal = Integer -> IO () Source #

Callback called with index when a goal has ended

type ProverMilestoneFinish = IO () Source #

Callback called when all goals have ended

type ProverMilestoneCallbacks = (ProverMilestoneStartGoal, ProverMilestoneEndGoal, ProverMilestoneFinish) Source #

Set of three callbacks called by the prover to let loggers indicate progress of the proving process.

withProgressBar' :: String -> [a] -> (a -> IO b) -> IO [b] Source #

withProgressBar :: Int -> [a] -> (a -> IO b) -> IO [b] Source #