haverer-0.3.0.0: Implementation of the rules of Love Letter

Safe HaskellNone
LanguageHaskell2010

Haverer.Internal.Ring

Documentation

data Ring a Source

Instances

Eq a => Eq (Ring a) Source 
Show a => Show (Ring a) Source 

makeRing :: [a] -> Maybe (Ring a) Source

dropItem :: Eq a => Ring a -> a -> Maybe (Ring a) Source

dropItem1 :: Eq a => Ring a -> a -> Either a (Ring a) Source

toList :: Ring a -> [a] Source

nextItem :: Ring a -> a Source