|
|
|
|
|
Description |
Definition of the monad underlying the CGI library. |
|
|
|
newtype CGI a |
|
|
type CGIAction a = CGIState -> IO (a, CGIState) |
|
data CGIState |
Constructors | CGIState | | inparm :: [PARAMETER] | | outparm :: [PARAMETER] | | mcount :: Int | | cgiInfo :: CGIInfo | | pageInfo :: PageInfo | | encoder :: (String -> String) | | cookieMap :: [(String, (Maybe String, Maybe String))] | | cookiesToSend :: [String] | |
|
| Instances | |
|
|
data PageInfo |
Constructors | PageInfo | | count :: Int | | nextaction :: (Element -> CGIAction ()) | | bindings :: (Maybe CGIParameters) | | enctype :: String | | inFrame :: Int | | allFields :: [(String, Bool)] | | faultyfields :: [(String, String)] | |
|
| Instances | |
|
|
data CGIFieldName |
Constructors | CGIFieldName | | fnMcount :: Int | | fnCount :: Int | |
|
| Instances | |
|
|
setAction :: (Element -> CGI ()) -> CGI () |
|
incFrame :: CGI Int |
|
resetFrame :: CGI () |
|
setEnctype :: String -> CGI () |
|
setFaulty :: [(String, String)] -> CGI () |
|
data PARAMETER |
|
|
nextName :: CGI CGIFieldName |
|
addField :: String -> Bool -> CGI () |
|
Produced by Haddock version 0.5 |