 | WashNGo-2.12: WASH is a family of embedded domain specific languages (EDSL) for programming Web applications in Haskell. | Contents | Index |
|
|
|
| Description |
| Definition of the monad underlying the CGI library.
|
|
| Synopsis |
|
|
|
| Documentation |
|
| newtype CGI a |
| Constructors | | Instances | |
|
|
| type CGIAction a = CGIState -> IO (a, CGIState) |
|
| data CGIState |
|
|
| data PageInfo |
|
|
| data CGIFieldName |
| Constructors | | Instances | |
|
|
| wrapIO :: IO a -> CGIAction a |
| wrapper to transform IO computation to CGIAction
|
|
| lift :: IO a -> CGI a |
| lift IO monad to CGI monad
|
|
| setAction :: CGIMonad cgi => (Element -> cgi ()) -> cgi () |
|
| registerAction :: CGIMonad cgi => String -> (Element -> cgi ()) -> cgi () |
|
| incFrame :: CGIMonad cgi => cgi Int |
|
| resetFrame :: CGIMonad cgi => cgi () |
|
| setEnctype :: CGIMonad cgi => String -> cgi () |
|
| setFaulty :: CGIMonad cgi => [(String, String)] -> cgi () |
|
| class Monad cgi => CGIMonad cgi where |
| | Methods | | wrapCGI :: CGIAction a -> cgi a | | | unwrapCGI :: cgi a -> CGIAction a | | | chooser :: a -> a -> cgi a |
| | Instances | |
|
|
| nextName :: CGIMonad cgi => cgi CGIFieldName |
|
| addField :: CGIMonad cgi => String -> Bool -> cgi () |
|
| Produced by Haddock version 0.8 |