ca-0.0.0.1: Cellular Automata

Safe HaskellNone
LanguageHaskell2010

Data.Neighborhood.Hex

Documentation

data Nbhd Source #

Constructors

N0 
N1 
N2o 
N2m 
N2p 
N3v 
N3a 
N3s 
N4o 
N4m 
N4p 
N5 
N6 

Instances

Enum Nbhd Source # 

Methods

succ :: Nbhd -> Nbhd #

pred :: Nbhd -> Nbhd #

toEnum :: Int -> Nbhd #

fromEnum :: Nbhd -> Int #

enumFrom :: Nbhd -> [Nbhd] #

enumFromThen :: Nbhd -> Nbhd -> [Nbhd] #

enumFromTo :: Nbhd -> Nbhd -> [Nbhd] #

enumFromThenTo :: Nbhd -> Nbhd -> Nbhd -> [Nbhd] #

Eq Nbhd Source # 

Methods

(==) :: Nbhd -> Nbhd -> Bool #

(/=) :: Nbhd -> Nbhd -> Bool #

Show Nbhd Source # 

Methods

showsPrec :: Int -> Nbhd -> ShowS #

show :: Nbhd -> String #

showList :: [Nbhd] -> ShowS #

Preord Nbhd Source # 

Methods

(≤) :: Nbhd -> Nbhd -> Bool #

(≥) :: Nbhd -> Nbhd -> Bool #

(<) :: Nbhd -> Nbhd -> Bool #

(>) :: Nbhd -> Nbhd -> Bool #

PartialEq Nbhd Source # 

Methods

(≡) :: Nbhd -> Nbhd -> Bool #

(≢) :: Nbhd -> Nbhd -> Bool #

Eq Nbhd Source # 
PartialOrd Nbhd Source #