yesod-table-0.1.1: HTML tables for Yesod

Safe HaskellNone
LanguageHaskell2010

Yesod.Table

Documentation

newtype Table site a Source

Constructors

Table (Seq (Column site a)) 

Instances

Contravariant (Table site) 
Monoid (Table site a) 

data Column site a Source

Constructors

Column 

Fields

header :: !(WidgetT site IO ())
 
cell :: !(a -> WidgetT site IO ())
 

Instances

Contravariant (Column site) 

buildBootstrap :: Table site a -> [a] -> WidgetT site IO () Source

single :: WidgetT site IO () -> (a -> WidgetT site IO ()) -> Table site a Source

text :: Text -> (a -> Text) -> Table site a Source

linked :: Text -> (a -> Text) -> (a -> Route site) -> Table site a Source