repo.or.cz
/
sqlgg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
start split library
[sqlgg.git]
/
lib
/
prelude.ml
blob
8a3ac8f434a2842048e68224ad69426bc653c8b9
1
2
let
(
$
)
f g
=
function
x
->
f
(
g x
)
3
let
(&)
f x
=
f x
4
let
(>>)
x f
=
f x
5
6
external
id
:
'a
->
'a
=
"
%i
dentity"
7
let
catch
f x
=
try
Some
(
f x
)
with
_
->
None
8
let
tee
f x
=
f x
;
x
9
let
flip
f x y
=
f y x
10