CurryInfo: prolog-3.0.0 / Language.Prolog.Show.showPlClause

definition:
showPlClause :: PlClause -> String
showPlClause (PlClause pred args []) =
  showPlGoal (PlLit pred args) ++ "."
showPlClause (PlClause pred args body@(_:_)) =
  showPlGoal (PlLit pred args) ++ " :- " ++ showPlGoals body ++ "."
showPlClause (PlDirective body) =
  ":- " ++ showPlGoals body ++ "."
showPlClause (PlQuery body) =
  "?- " ++ showPlGoals body ++ "."
demand:
argument 1
deterministic:
deterministic operation
documentation:
--- Shows a Prolog clause in standard Prolog syntax.
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{({PlClause}) |-> _ || ({PlDirective}) |-> _ || ({PlQuery}) |-> _}
name:
showPlClause
precedence:
no precedence defined
result-values:
_
signature:
Language.Prolog.Types.PlClause -> String
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term