Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 15th, 2018
86
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
OCaml
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
let
rec
rev l1 l2
=
match
l1
with
[
]
->
l2
|
hd
::
tail
->
rev tail
(
hd
::
l2
)
;;
let
reverse
list
=
rev
list
[
]
;;
reverse
[
1
;
2
;
3
]
;;
reverse
[
]
;;
reverse
[
9
;
8
;
7
;
6
]
;;
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
15 min ago | 13.75 KB
Untitled
33 min ago | 0.06 KB
SmartOS Zombie Zone Cleanup Script
Bash | 3 hours ago | 3.78 KB
Untitled
4 hours ago | 3.86 KB
Decentralized Money
4 hours ago | 0.42 KB
Change your mindset
4 hours ago | 0.08 KB
Bitcoin
7 hours ago | 0.23 KB
startup.lua
Lua | 11 hours ago | 0.33 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!