I guess it is the typical complain about using separate operators for ints and floats.
It never bothered me in Caml Light, let alone when Objective Caml was introduced.
It never bothered me in Caml Light, let alone when Objective Caml was introduced.
x *. y +. z
or, since `Float.(+) = (+.)`, `Float.() = (.)`, etc, let open Float in
x * y + z
or simply Float.(x * y + z) let open Quaternion in
x * y + x module Quaternion = struct
let (+) =
...
let ( * ) =
...
end
then let open Quaternion in
imports the contents of Quaternion into local scope, so you can write x * y + z