toolshed-0.16.0.0: Ill-defined library.

Safe HaskellSafe
LanguageHaskell2010

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.