definition:
|
member :: a -> SetRBT a -> Bool
member e = isJust . (RBT.lookup e)
|
demand:
|
no demanded arguments
|
deterministic:
|
deterministic operation
|
documentation:
|
--- Returns true if an element is contained in a (red-black tree) set.
--- @param e - an element to be checked for containment
--- @param s - a set (represented as a red-black tree)
--- @return True if e is contained in s
|
failfree:
|
_
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_) |-> {.._#lambda508}}
|
name:
|
member
|
precedence:
|
no precedence defined
|
result-values:
|
{.._#lambda508}
|
signature:
|
a -> Data.RedBlackTree.RedBlackTree a -> Prelude.Bool
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
yes
|
totally-defined:
|
possibly non-reducible on same data term
|