WashNGo-2.12: WASH is a family of embedded domain specific languages (EDSL) for programming Web applications in Haskell.ContentsIndex
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 a
(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 where
Methods
cgiPut' :: Handle -> a -> IO ()
cgiPutList :: Handle -> [a] -> IO ()
show/hide Instances
cgiPut :: CGIOutput a => Handle -> a -> IO ()
Produced by Haddock version 0.8