comic-0.0.1: A format for describing comics.

Safe HaskellNone
LanguageHaskell2010

Data.Comic

Documentation

data Hint Source #

Instances
Eq Hint Source # 
Instance details

Defined in Data.Comic

Methods

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

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

Ord Hint Source # 
Instance details

Defined in Data.Comic

Methods

compare :: Hint -> Hint -> Ordering #

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

(<=) :: Hint -> Hint -> Bool #

(>) :: Hint -> Hint -> Bool #

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

max :: Hint -> Hint -> Hint #

min :: Hint -> Hint -> Hint #

Show Hint Source # 
Instance details

Defined in Data.Comic

Methods

showsPrec :: Int -> Hint -> ShowS #

show :: Hint -> String #

showList :: [Hint] -> ShowS #

ToJSON Hint Source # 
Instance details

Defined in Data.Comic

FromJSON Hint Source # 
Instance details

Defined in Data.Comic

data Position Source #

Constructors

Pos 

Fields

Instances
Eq Position Source # 
Instance details

Defined in Data.Comic.Types

Ord Position Source # 
Instance details

Defined in Data.Comic.Types

Read Position Source # 
Instance details

Defined in Data.Comic.Types

Show Position Source # 
Instance details

Defined in Data.Comic.Types

Generic Position Source # 
Instance details

Defined in Data.Comic.Types

Associated Types

type Rep Position :: Type -> Type #

Methods

from :: Position -> Rep Position x #

to :: Rep Position x -> Position #

Hashable Position Source # 
Instance details

Defined in Data.Comic.Types

Methods

hashWithSalt :: Int -> Position -> Int #

hash :: Position -> Int #

ToJSON Position Source # 
Instance details

Defined in Data.Comic.Types

FromJSON Position Source # 
Instance details

Defined in Data.Comic.Types

NFData Position Source # 
Instance details

Defined in Data.Comic.Types

Methods

rnf :: Position -> () #

type Rep Position Source # 
Instance details

Defined in Data.Comic.Types

type Rep Position = D1 (MetaData "Position" "Data.Comic.Types" "comic-0.0.1-GvijLpXnXAw1uVTGer44ST" False) (C1 (MetaCons "Pos" PrefixI True) (S1 (MetaSel (Just "_pX") SourceUnpack SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_pY") SourceUnpack SourceStrict DecidedStrict) (Rec0 Int)))

data Font Source #

Constructors

Font !FontName !FontSize !RGBA 
Instances
Eq Font Source # 
Instance details

Defined in Data.Comic.Types

Methods

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

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

Ord Font Source # 
Instance details

Defined in Data.Comic.Types

Methods

compare :: Font -> Font -> Ordering #

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

(<=) :: Font -> Font -> Bool #

(>) :: Font -> Font -> Bool #

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

max :: Font -> Font -> Font #

min :: Font -> Font -> Font #

Read Font Source # 
Instance details

Defined in Data.Comic.Types

Show Font Source # 
Instance details

Defined in Data.Comic.Types

Methods

showsPrec :: Int -> Font -> ShowS #

show :: Font -> String #

showList :: [Font] -> ShowS #

Generic Font Source # 
Instance details

Defined in Data.Comic.Types

Associated Types

type Rep Font :: Type -> Type #

Methods

from :: Font -> Rep Font x #

to :: Rep Font x -> Font #

Hashable Font Source # 
Instance details

Defined in Data.Comic.Types

Methods

hashWithSalt :: Int -> Font -> Int #

hash :: Font -> Int #

NFData Font Source # 
Instance details

Defined in Data.Comic.Types

Methods

rnf :: Font -> () #

type Rep Font Source # 
Instance details

Defined in Data.Comic.Types

data Comic Source #

Constructors

Comic 
Instances
Eq Comic Source # 
Instance details

Defined in Data.Comic

Methods

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

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

Ord Comic Source # 
Instance details

Defined in Data.Comic

Methods

compare :: Comic -> Comic -> Ordering #

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

(<=) :: Comic -> Comic -> Bool #

(>) :: Comic -> Comic -> Bool #

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

max :: Comic -> Comic -> Comic #

min :: Comic -> Comic -> Comic #

Show Comic Source # 
Instance details

Defined in Data.Comic

Methods

showsPrec :: Int -> Comic -> ShowS #

show :: Comic -> String #

showList :: [Comic] -> ShowS #

ToJSON Comic Source # 
Instance details

Defined in Data.Comic

FromJSON Comic Source # 
Instance details

Defined in Data.Comic

data Panel Source #

Instances
Eq Panel Source # 
Instance details

Defined in Data.Comic

Methods

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

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

Ord Panel Source # 
Instance details

Defined in Data.Comic

Methods

compare :: Panel -> Panel -> Ordering #

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

(<=) :: Panel -> Panel -> Bool #

(>) :: Panel -> Panel -> Bool #

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

max :: Panel -> Panel -> Panel #

min :: Panel -> Panel -> Panel #

Show Panel Source # 
Instance details

Defined in Data.Comic

Methods

showsPrec :: Int -> Panel -> ShowS #

show :: Panel -> String #

showList :: [Panel] -> ShowS #

ToJSON Panel Source # 
Instance details

Defined in Data.Comic

FromJSON Panel Source # 
Instance details

Defined in Data.Comic