toolshed-0.18.0.0: Ill-defined library.

Safe HaskellSafe
LanguageHaskell2010

ToolShed.Test.ReversibleBoundedEnum

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Facilities testing of custom implementations of Enum.

Synopsis

Functions

Predicates

isReversible :: (Bounded r, Eq r, Enum r) => r -> Bool Source #

Checks that composing pred & succ is equivalent to the identity.