celtchar-0.1.3.0: A tool to build a novel

Safe HaskellNone
LanguageHaskell2010

Celtchar.Novel.Structure

Documentation

data Language Source #

Constructors

French 
English 

Instances

Show Language Source # 
Generic Language Source # 

Associated Types

type Rep Language :: * -> * #

Methods

from :: Language -> Rep Language x #

to :: Rep Language x -> Language #

FromJSON Language Source # 
type Rep Language Source # 
type Rep Language = D1 * (MetaData "Language" "Celtchar.Novel.Structure" "celtchar-0.1.3.0-DZfPaa3GoDE6Zh3ysi2ytD" False) ((:+:) * (C1 * (MetaCons "French" PrefixI False) (U1 *)) (C1 * (MetaCons "English" PrefixI False) (U1 *)))

newtype Document Source #

Constructors

Document FilePath 

Instances

data Chapter Source #

Constructors

Chapter 

Instances

Show Chapter Source # 
Generic Chapter Source # 

Associated Types

type Rep Chapter :: * -> * #

Methods

from :: Chapter -> Rep Chapter x #

to :: Rep Chapter x -> Chapter #

FromJSON Chapter Source # 
HasDependencies Chapter Source # 
Novelify Chapter Source # 

Methods

novelify :: Chapter -> Builder () Source #

type Rep Chapter Source # 
type Rep Chapter = D1 * (MetaData "Chapter" "Celtchar.Novel.Structure" "celtchar-0.1.3.0-DZfPaa3GoDE6Zh3ysi2ytD" False) (C1 * (MetaCons "Chapter" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "chapterTitle") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe String))) (S1 * (MetaSel (Just Symbol "documents") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [Document]))))

data Part Source #

Constructors

Part 

Fields

Instances

Show Part Source # 

Methods

showsPrec :: Int -> Part -> ShowS #

show :: Part -> String #

showList :: [Part] -> ShowS #

Generic Part Source # 

Associated Types

type Rep Part :: * -> * #

Methods

from :: Part -> Rep Part x #

to :: Rep Part x -> Part #

FromJSON Part Source # 
HasDependencies Part Source # 

Methods

getDeps :: Part -> [FilePath] Source #

Novelify Part Source # 

Methods

novelify :: Part -> Builder () Source #

type Rep Part Source # 
type Rep Part = D1 * (MetaData "Part" "Celtchar.Novel.Structure" "celtchar-0.1.3.0-DZfPaa3GoDE6Zh3ysi2ytD" False) (C1 * (MetaCons "Part" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "partTitle") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)) (S1 * (MetaSel (Just Symbol "chapters") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [Chapter]))))

data Novel Source #