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

5 lines
122 B
Text

module MakeFoodBox(A : Eatable) = struct
type elt = A.t
type t = F of elt list
let make_box_from_list xs = F xs
end