toolshed-0.15.0.1: Utilities used by other packages.

Safe HaskellSafe-Inferred
LanguageHaskell98

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 -> Bool Source

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