WashNGo-2.12.0.1: WASH is a family of EDSLs for programming Web applications in Haskell.Source codeContentsIndex
WASH.CGI.CGIOutput
Description
Defines the class CGIOutput of data types that can be output from a CGI program.
Synopsis
itell :: Handle -> WithHTML x IO () -> IO a
class CGIOutput a where
cgiPut' :: Handle -> a -> IO ()
cgiPutList :: Handle -> [a] -> IO ()
cgiPut :: CGIOutput a => Handle -> a -> IO ()
Documentation
itell :: Handle -> WithHTML x IO () -> IO aSource
(internal) takes an output handle and a document without forms and input widgets, displays the document with suitable mime type and encoding, and terminates the program
class CGIOutput a whereSource
Methods
cgiPut' :: Handle -> a -> IO ()Source
cgiPutList :: Handle -> [a] -> IO ()Source
cgiPut :: CGIOutput a => Handle -> a -> IO ()Source
Produced by Haddock version 2.6.1