toolshed-0.15.0.0: Utilities used by other packages.

Safe HaskellSafe-Inferred

ToolShed.Test.ReversibleIO

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
  • Facilities testing of custom implementations of Read & Show.
  • CAVEAT: it doesn't actually do any IO.

Synopsis

Functions

Predicates

isReversible :: (Eq r, Read r, Show r) => r -> BoolSource

Checks that composing read & show is equivalent to the identity.