ihp-hsx-0.20.0: JSX-like but for Haskell
Copyright(c) digitally induced GmbH 2022
Safe HaskellSafe-Inferred
LanguageHaskell2010

IHP.HSX.ToHtml

Description

 

Documentation

class ToHtml a where Source #

Methods

toHtml :: a -> Html Source #

Instances

Instances details
ToHtml ByteString Source # 
Instance details

Defined in IHP.HSX.ToHtml

ToHtml Text Source # 
Instance details

Defined in IHP.HSX.ToHtml

Methods

toHtml :: Text -> Html Source #

ToHtml String Source # 
Instance details

Defined in IHP.HSX.ToHtml

Methods

toHtml :: String -> Html Source #

Show a => ToHtml a Source # 
Instance details

Defined in IHP.HSX.ToHtml

Methods

toHtml :: a -> Html Source #

ToHtml (MarkupM ()) Source # 
Instance details

Defined in IHP.HSX.ToHtml

Methods

toHtml :: MarkupM () -> Html Source #

ToHtml a => ToHtml (Maybe a) Source # 
Instance details

Defined in IHP.HSX.ToHtml

Methods

toHtml :: Maybe a -> Html Source #