Pandora.Pattern.Object.Cycle
class Chain a => Cycle a where Source #
When providing a new instance, you should ensure it satisfies: * Transitivity: x ≡ previous (next x)
Strict ternary relation order
Methods
previous :: a -> a Source #
next :: a -> a Source #