18. ä¾import Network.CGIimport Text.Htmlmain :: IO ()main = runCGI (handleErrorscgiMain)cgiMain :: CGI CGIResultcgiMain = output $ renderHtml $ dothehtml << [ header $ thetitle << "Test Page!" , body << [ h1 << "Hoge-" , paragraph << [ primHtml "Hello, World!" ]]] 19. åè:pficommonã®CGIã©ã¤ãã©ãªHaskellã®CGIï¼HTMLãä¸æ·ãã«ä½ã£ãclass my_cgi : public xhtml_cgi{public: void run(){ html__{ head__{ title__{ text__("Te
{{#tags}}- {{label}}
{{/tags}}