CurryInfo: curry-source-1.2.0 / Language.Curry.CheckOperations.checkSetUse

definition:
checkSetUse :: Prog -> IO [(QName,String)]
checkSetUse (Prog _ _ _ fdecls _) = do
  seterrors <- values2list (set1 setUse fdecls)
  return (map showSetError seterrors)
 where
  showSetError (qf,sar,reason) =
    (qf, "wrong use of set function `set" ++ sar ++ "': " ++ reason ++ "!")
demand:
argument 1
deterministic:
deterministic operation
documentation:
------------------------------------------------------------------------------
--- Returns messages about unintended uses of set functions in a
--- FlatCurry program.
failfree:
_
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{({Prog}) |-> _}
name:
checkSetUse
precedence:
no precedence defined
result-values:
_
signature:
FlatCurry.Types.Prog -> Prelude.IO [((String, String), String)]
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term