summaryrefslogtreecommitdiffstats
path: root/otherlibs/labltk/examples_camltk/addition.ml
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/labltk/examples_camltk/addition.ml')
-rw-r--r--otherlibs/labltk/examples_camltk/addition.ml6
1 files changed, 4 insertions, 2 deletions
diff --git a/otherlibs/labltk/examples_camltk/addition.ml b/otherlibs/labltk/examples_camltk/addition.ml
index 44988370c..6bebe0213 100644
--- a/otherlibs/labltk/examples_camltk/addition.ml
+++ b/otherlibs/labltk/examples_camltk/addition.ml
@@ -13,7 +13,8 @@
(* described in file LICENSE found in the OCaml source tree. *)
(* *)
(***********************************************************************)
-open Camltk
+
+open Camltk;;
let main () =
let top = opentk () in
@@ -50,4 +51,5 @@ let main () =
mainLoop ()
;;
-let _ = Printexc.catch main () ;;
+Printexc.catch main ()
+;;