stay compatible with ocaml >= 3.12.1
[sqlgg.git] / lib / prelude.ml
blobaeeec55500fe3b93ff22d7401c467a3afcb7e8b0
2 let (|>) x f = f x
3 let (@@) f x = f x
4 let ($) f g = function x -> f (g x)
6 external identity : 'a -> 'a = "%identity"
7 let flip f x y = f y x