WashNGo-2.12.0.1: WASH is a family of EDSLs for programming Web applications in Haskell.
WASH.CGI.CGIOutput
Description
Defines the class CGIOutput of data types that can be output from a CGI program.
CGIOutput
Synopsis
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
Instances
cgiPut :: CGIOutput a => Handle -> a -> IO ()Source