ocaml-standard-library/lib/functions.ml

5 lines
75 B
OCaml
Raw Normal View History

2021-12-16 10:01:08 +00:00
let id (x : 'a) = x
let ( >> ) f g x = g (f x)
let ( << ) g f x = g (f x)