RosettaCodeData/Task/Constrained-genericity/OCaml/constrained-genericity-4.ocaml
Ingy döt Net d066446780 langs a-z
2013-04-10 22:43:41 -07:00

4 lines
126 B
Text

module EatFloat : Eatable with type t = float = struct
type t = float
let eat f = Printf.printf "I'm eating %f\n%!" f
end