Source

OCaml-WebFramework / cgi-bin / cgi_functions.ml

Full commit
(*
** cgi_functions.ml for OCaml-WebFramework
** 
** Made by Pierre Surply
** <pierre.surply@gmail.com>
** 
** Started on  Sat Sep 15 21:11:04 2012 Pierre Surply
Last update Thu Oct 11 15:23:48 2012 pierre surply
*)

let get_function = function
  | "get_time" -> Date.get_date ()
  | f -> "Cannot find function : " ^ f