CurryInfo: spicey-4.2.0 / Spicey.ControllerGeneration.relatedRelation

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