sylvain has joined #ocaml
<
sylvain>
hellooooooooooo
sylvain has quit []
jao has quit ["leaving"]
Verbed has quit ["Client Exiting"]
owll has joined #ocaml
owll has quit [Remote closed the connection]
gene9 has joined #ocaml
gene9_ has joined #ocaml
gene9_ has quit [Client Quit]
gene9 has quit [Read error: 110 (Connection timed out)]
gene9 has joined #ocaml
gene9 has quit [Client Quit]
Verbed has joined #ocaml
Cryptor has joined #ocaml
tav` has quit [Read error: 104 (Connection reset by peer)]
tav` has joined #ocaml
TimFreeman has joined #ocaml
TimFreeman has left #ocaml []
tav` is now known as tav
skylan has quit [Read error: 104 (Connection reset by peer)]
skylan has joined #ocaml
Cryptor has quit ["Leaving"]
flia has joined #ocaml
<
flia>
could anybody perhaps show me how to implement a 'reverse' function in ocaml which reverses a list?
<
emu>
fun reverse nil = nil | reverse (x::xs) = reverse xs @ [x]
<
emu>
pretty simple
<
emu>
at every step you append the current element to the reverse of the rest of the list
<
flia>
yeah, i see how it works now, thanks :)
flia has quit [Remote closed the connection]
cyphus has joined #ocaml
_ott has joined #ocaml
cyphus has quit [Read error: 104 (Connection reset by peer)]
_ott has left #ocaml []
cyphus has joined #ocaml
cyphus has quit [Remote closed the connection]
Shrdlu has joined #ocaml
jao has joined #ocaml
Shrdlu_ has joined #ocaml
Shrdlu has quit [Read error: 104 (Connection reset by peer)]
Shrdlu_ is now known as Shrdlu
olczyk has joined #ocaml
gene9 has joined #ocaml
gene9 has quit ["b"]
jao has quit ["leaving"]
olczyk has quit [Read error: 113 (No route to host)]