RosettaCodeData/Task/Currying/Standard-ML/currying-2.ml

3 lines
81 B
OCaml
Raw Permalink Normal View History

2015-02-20 09:02:09 -05:00
fun curry f x y = f(x,y)
(* Type signature: ('a * 'b -> 'c) -> 'a -> 'b -> 'c *)