web-rep-0.2.0: representations of a web page

Safe HaskellNone
LanguageHaskell2010

Web.Page.Examples

Synopsis

Documentation

page1 :: Page Source #

simple page examples

data RepExamples Source #

Instances
Eq RepExamples Source # 
Instance details

Defined in Web.Page.Examples

Show RepExamples Source # 
Instance details

Defined in Web.Page.Examples

Generic RepExamples Source # 
Instance details

Defined in Web.Page.Examples

Associated Types

type Rep RepExamples :: Type -> Type #

type Rep RepExamples Source # 
Instance details

Defined in Web.Page.Examples

data Shape Source #

Constructors

SquareShape 
CircleShape 
Instances
Eq Shape Source # 
Instance details

Defined in Web.Page.Examples

Methods

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

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

Show Shape Source # 
Instance details

Defined in Web.Page.Examples

Methods

showsPrec :: Int -> Shape -> ShowS #

show :: Shape -> String #

showList :: [Shape] -> ShowS #

Generic Shape Source # 
Instance details

Defined in Web.Page.Examples

Associated Types

type Rep Shape :: Type -> Type #

Methods

from :: Shape -> Rep Shape x #

to :: Rep Shape x -> Shape #

type Rep Shape Source # 
Instance details

Defined in Web.Page.Examples

type Rep Shape = D1 (MetaData "Shape" "Web.Page.Examples" "web-rep-0.2.0-FIwogXICtLkCMjX6u6XK6R" False) (C1 (MetaCons "SquareShape" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "CircleShape" PrefixI False) (U1 :: Type -> Type))

data SumTypeExample Source #

Constructors

SumInt Int 
SumOnly 
SumText Text 
Instances
Eq SumTypeExample Source # 
Instance details

Defined in Web.Page.Examples

Show SumTypeExample Source # 
Instance details

Defined in Web.Page.Examples

Generic SumTypeExample Source # 
Instance details

Defined in Web.Page.Examples

Associated Types

type Rep SumTypeExample :: Type -> Type #

type Rep SumTypeExample Source # 
Instance details

Defined in Web.Page.Examples

type Rep SumTypeExample = D1 (MetaData "SumTypeExample" "Web.Page.Examples" "web-rep-0.2.0-FIwogXICtLkCMjX6u6XK6R" False) (C1 (MetaCons "SumInt" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) :+: (C1 (MetaCons "SumOnly" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SumText" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))))