CurryInfo: base-3.4.0 / Control.Monad.when

definition: Info
 
when :: (Applicative f) => Bool -> f () -> f ()
when p s  = if p then s else pure ()
demand: Info
 argument 2
deterministic: Info
 deterministic operation
documentation: Info
 
| Conditional execution of 'Applicative' expressions.
failfree: Info
 (_, _, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,{True},_) |-> _ || (_,{False},_) |-> _}
name: Info
 when
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Prelude.Applicative a => Prelude.Bool -> a () -> a ()
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms