6 (* Call our gcd() function *)
12 let g = _gcd '(x,y) as int
13 let _ = Printf.printf "The gcd of %d and %d is %d\n" (x as int) (y as int) g
15 (* Manipulate the Foo global variable *)
17 (* Output its current value *)
18 let _ = Printf.printf "Foo = %f\n" (_Foo '() as float)
20 (* Change its value *)
21 let _ = _Foo '(3.1415926)
23 (* See if the change took effect *)
24 let _ = Printf.printf "Foo = %f\n" (_Foo '() as float)