|
definition: |
(:&) :: Show nl => Context nl el -> Graph nl el -> Graph nl el
(p,v,l,s) :& (Gr g)
| member v g = error ("Node Exception, Node: "++show v++": "++show l)
| otherwise = Gr g3
where g1 = insert v (p,l,s) g
g2 = updAdj g1 p (addSucc v)
g3 = updAdj g2 s (addPred v)
|
|
demand: |
arguments 2 3 |
|
deterministic: |
deterministic operation |
|
failfree: |
(_, _, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
infixr |
|
iotype: |
{(_,{(,,,)},{Gr}) |-> {Gr}}
|
|
name: |
:& |
|
precedence: |
5 |
|
result-values: |
{Gr}
|
|
signature: |
Prelude.Show b => ([(a, Prelude.Int)], Prelude.Int, b, [(a, Prelude.Int)]) -> Graph b a -> Graph b a |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |