pandora-0.4.0: A box of patterns and paradigms
Safe HaskellSafe-Inferred
LanguageHaskell2010

Pandora.Pattern.Object.Cycle

Synopsis

Documentation

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 #