CurryInfo: call-analysis-3.2.0 / TRS.showRule

definition: Info
 
showRule :: Rule -> String
showRule (Rule f args rhs) =
  showBasicTerm False (Func Def f args) ++ " = " ++ showBasicTerm False rhs ++
  if null extraVars then ""
  else " where " ++
       intercalate "," (map (\i -> showBasicTerm False (Var i)) extraVars) ++
       " free"
 where
  extraVars = varsOf rhs \\ concatMap varsOf args
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
show a rule
failfree: Info
 <FAILING>
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({Rule}) |-> _}
name: Info
 showRule
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Rule -> 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