CurryInfo: searchtree-unsafe-3.0.0 / Control.Search.SearchTree.Unsafe.identicalVars

definition: Info
 
identicalVars :: a -> a -> Bool
identicalVars x y =
  maybe False (\xi -> maybe False (==xi) (lookupVarId y)) (lookupVarId x)
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Tests whether both arguments are identical free variables.
This function is only meaningful when applied to
parts of a result of an encapsulated expression
if the argument stems from a `Value` node of
a SearchTree
failfree: Info
 (_, _)
indeterministic: Info
 might be indeterministic
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> _}
name: Info
 identicalVars
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 a -> a -> Prelude.Bool
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms