Commits

camlspotter committed cd2fda3

added Overload

Comments (0)

Files changed (1)

+(** Overloaded values. You need poormans_overload patch *)
+
+module Int = struct
+  let (+) = (+)
+  let (-) = (-)
+  let ( * ) = ( * )
+  let (/) = (/)
+end
+
+module Float = struct
+  let (+) = (+.)
+  let (-) = (-.)
+  let ( * ) = ( *. )
+  let (/) = (/.)
+end
+
+module Option = Option