CurryInfo: property-prover-2.0.0 / VerifierState.evalOption

definition: Info
 
evalOption :: (Options -> a) -> (a -> Bool) -> VStateM () -> VStateM ()
evalOption f b m = getOption f >>= flip when m . b
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Gets an option and only executes the given monad if the given predicate
evaluates to true for that option.
failfree: Info
 (_, _, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_,_) |-> _}
name: Info
 evalOption
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 (ToolOptions.Options -> a) -> (a -> Prelude.Bool)
-> Control.Monad.Trans.State.StateT VState Prelude.IO ()
-> Control.Monad.Trans.State.StateT VState Prelude.IO ()
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 reducible on all ground data terms