toolshed-0.15.0.1: Utilities used by other packages.
ToolShed.Test.ReversibleBoundedEnum
Contents
Description
AUTHOR
DESCRIPTION
Enum
Synopsis
isReversible :: (Bounded r, Eq r, Enum r) => r -> Bool Source
Checks that composing pred & succ is equivalent to the identity.
pred
succ