CurryInfo: base-3.4.0 / Control.Search.SearchTree.isDefined

definition: Info
 
isDefined :: a -> Bool
isDefined x = hasValue (someSearchTree x)
 where hasValue y = case y of Value _  -> True
                              Fail _   -> False
                              Or t1 t2 -> hasValue t1 || hasValue t2
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Returns True iff the argument is defined, i.e., has a value.
failfree: Info
 _
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_) |-> _}
name: Info
 isDefined
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 a -> Prelude.Bool
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms