RosettaCodeData/Task/Constrained-genericity/OCaml/constrained-genericity-4.ocaml
2023-07-01 13:44:08 -04: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