¤ teeF

An identity fudget that copies messages to the standard error output

Types

teeF :: (a -> [Char]) -> [Char] -> F a a

Synopsis

teeF showf prefix

Description

teeF is an identity fudget which as a side effect prints the messages that pass through it on the standard error output. This can be helpful when debugging fudgets.

Arguments

showf :: a -> [Char]
A show function.
prefix :: [Char]
A string that the messages are prefixed with.

See Also

idF, spyF, showCommandF, trace in the hbc_library module NonStdTrace.