definition:
|
relationshipsForEntityName :: String -> [Relationship] -> [Relationship]
relationshipsForEntityName ename rels = filter endsIn rels
where
endsIn (Relationship _ ends) = any (\ (REnd n _ _) -> ename == n) ends
|
demand:
|
argument 2
|
deterministic:
|
deterministic operation
|
failfree:
|
(_, _)
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_,_) |-> {:,[]}}
|
name:
|
relationshipsForEntityName
|
precedence:
|
no precedence defined
|
result-values:
|
{:,[]}
|
signature:
|
String -> [Database.ERD.Relationship] -> [Database.ERD.Relationship]
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
reducible on all ground data terms
|