File: icfp2001_cgi.ml

package info (click to toggle)
ocamlnet 4.1.9-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 54,024 kB
  • sloc: ml: 151,939; ansic: 11,071; sh: 2,003; makefile: 1,310
file content (8 lines) | stat: -rw-r--r-- 299 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8

let () =
  let buffered _ ch = new Netchannels.buffered_trans_channel ch in
  let arg_store _ name _ = if name = "file" then `File else `Memory in
  Netcgi_cgi.run ~config:Icfp2001.config ~arg_store
    ~exn_handler:Icfp2001.exn_handler
    ~output_type:(`Transactional buffered)
    Icfp2001.main