CurryInfo: graph-inductive-3.0.0 / Data.GraphInductive.context

definition:
context ::  Graph a b -> Node -> Context a b
context g v = case match v g of
                (Nothing,_) -> error ("Match Exception, Node: "++show v)
                (Just c,_)  -> c 
demand:
argument 1
deterministic:
deterministic operation
documentation:
--- Find the context for the given 'Node'.  In contrast to "match",
--- "context" causes an error if the 'Node' is
--- not present in the 'Graph'.
failfree:
(_, _)
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,_) |-> _}
name:
context
precedence:
no precedence defined
result-values:
_
signature:
Graph a b -> Prelude.Int
-> ([(b, Prelude.Int)], Prelude.Int, a, [(b, Prelude.Int)])
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term