File: showAllInputs.hs

package info (click to toggle)
haskell-cgi 3001.5.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 184 kB
  • sloc: haskell: 818; makefile: 6
file content (9 lines) | stat: -rw-r--r-- 219 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
import Network.CGI (runCGI, getInputs, output)

main :: IO ()
main =
   runCGI $
      do allInputs <- getInputs
         output $ "Showing all inputs\n"
                ++ show allInputs
                ++ "\nDone.\n"