Webanwendung mit FastCGI und Haskell
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

17 行
286B

  1. {-# LANGUAGE OverloadedStrings #-}
  2. module App.Info (
  3. Info(..)
  4. ) where
  5. import Request
  6. import Template
  7. import Network.FastCGI
  8. data Info = Info
  9. instance RequestHandler Info where
  10. handle handler = do
  11. result <- render "info" [("pagetitle", "Info")]
  12. output result