RosettaCodeData/Task/Function-composition/Standard-ML/function-composition-1.ml

2 lines
31 B
OCaml

fun compose (f, g) x = f (g x)