Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- trace ∷ BuiltinString → a → a
- traceError ∷ BuiltinString → a
- traceIfFalse ∷ BuiltinString → Bool → Bool
- traceIfTrue ∷ BuiltinString → Bool → Bool
- traceBool ∷ BuiltinString → BuiltinString → Bool → Bool
Documentation
trace ∷ BuiltinString → a → a Source #
Emit the given string as a trace message before evaluating the argument.
traceError ∷ BuiltinString → a Source #
Log a message and then terminate the evaluation with an error.
traceIfFalse ∷ BuiltinString → Bool → Bool Source #
Emit the given BuiltinString
only if the argument evaluates to False
.
traceIfTrue ∷ BuiltinString → Bool → Bool Source #
Emit the given BuiltinString
only if the argument evaluates to True
.
traceBool ∷ BuiltinString → BuiltinString → Bool → Bool Source #
Emit one of two BuiltinString
depending on whether or not the argument
evaluates to True
or False
.