LambdaHack-0.6.2.0: A game engine library for roguelike dungeon crawlers

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Common.KindOps

Description

General content types and operations.

Synopsis

Documentation

newtype Id c Source #

Content identifiers for the content type c.

Constructors

Id Word16 

Instances

Bounded (Id c) Source # 

Methods

minBound :: Id c #

maxBound :: Id c #

Enum (Id c) Source # 

Methods

succ :: Id c -> Id c #

pred :: Id c -> Id c #

toEnum :: Int -> Id c #

fromEnum :: Id c -> Int #

enumFrom :: Id c -> [Id c] #

enumFromThen :: Id c -> Id c -> [Id c] #

enumFromTo :: Id c -> Id c -> [Id c] #

enumFromThenTo :: Id c -> Id c -> Id c -> [Id c] #

Eq (Id c) Source # 

Methods

(==) :: Id c -> Id c -> Bool #

(/=) :: Id c -> Id c -> Bool #

Ord (Id c) Source # 

Methods

compare :: Id c -> Id c -> Ordering #

(<) :: Id c -> Id c -> Bool #

(<=) :: Id c -> Id c -> Bool #

(>) :: Id c -> Id c -> Bool #

(>=) :: Id c -> Id c -> Bool #

max :: Id c -> Id c -> Id c #

min :: Id c -> Id c -> Id c #

Show (Id c) Source # 

Methods

showsPrec :: Int -> Id c -> ShowS #

show :: Id c -> String #

showList :: [Id c] -> ShowS #

Binary (Id c) Source # 

Methods

put :: Id c -> Put #

get :: Get (Id c) #

putList :: [Id c] -> Put #

data Ops a Source #

Content operations for the content of type a.

Constructors

Ops 

Fields