WashNGo-2.12: WASH is a family of embedded domain specific languages (EDSL) for programming Web applications in Haskell.ContentsIndex
WASH.CGI.Style
Synopsis
data Style
= NoStyle
| (:=:) String String
| (:^:) Style Style
| Named String
using :: Monad m => Style -> (WithHTML x m b -> c) -> WithHTML x m b -> c
Documentation
data Style
First class style elements. Intended for CSS2.
Constructors
NoStyle
(:=:) String Stringprimitive style name :=: value
(:^:) Style Stylecombine two styles
Named Stringreference to style sheet
show/hide Instances
using
:: Monad m
=> Style
-> (WithHTML x m b -> c)a field constructor, typically HTMLField
-> WithHTML x m b
-> cstyled version of this constructor
Attaches a style to a field constructor.
Produced by Haddock version 0.8