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

definition: Info
 
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: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
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: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> _}
name: Info
 context
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Graph a b -> Prelude.Int
-> ([(b, Prelude.Int)], Prelude.Int, a, [(b, Prelude.Int)])
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term