RosettaCodeData/Task/Currying/OCaml/currying-2.ml

3 lines
82 B
OCaml
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
let curry f x y = f (x,y)
(* Type signature: ('a * 'b -> 'c) -> 'a -> 'b -> 'c *)