CurryInfo: spicey-4.2.0 / Spicey.GenerationHelper.relatedRelation

definition:
relatedRelation :: String -> Relationship -> String
relatedRelation en (Relationship _ [REnd en1 _ _, REnd en2 _ _]) =
  if en==en1 then en2 else en1
demand:
arguments 1 2
deterministic:
deterministic operation
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,{Relationship}) |-> _}
name:
relatedRelation
precedence:
no precedence defined
result-values:
_
signature:
String -> Database.ERD.Relationship -> String
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term