toolshed-0.11.1.0: Utilities used by other packages.

ToolShed.Unsafe

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
  • Provides impure functions to print & return the specified value.
  • The pure interfaces permit calls from outside the IO-monad.
TODO
Review function-names.

Synopsis

Functions

print'Source

Arguments

:: Show s 
=> s

Arbitrary polymorphic input-data.

-> s

Output (identical to input).

A transparent print-function, for use in debugging.

printShowSource

Arguments

:: Show s 
=> String

The label to be printed before the value of the input data.

-> s

Arbitrary polymorphic input-data.

-> s

Output (identical to input).

A transparent print-function, which prepends the specified label, for use in debugging.