vezenchio has quit ["--- reality is that which, when you stop believing in it, doesn't go away ---"]
vezenchio has joined #ocaml
reltuk has left #ocaml []
smimou has joined #ocaml
gim has joined #ocaml
Kinners has quit ["leaving"]
vezenchio has quit [wells.freenode.net irc.freenode.net]
skylan has quit [wells.freenode.net irc.freenode.net]
_fab has quit [wells.freenode.net irc.freenode.net]
sundeep has quit [wells.freenode.net irc.freenode.net]
vezenchio has joined #ocaml
skylan has joined #ocaml
_fab has joined #ocaml
sundeep has joined #ocaml
clog has joined #ocaml
lam has quit [Read error: 54 (Connection reset by peer)]
gim has quit ["rendez vous avec le 2.6.6"]
gim has joined #ocaml
lam has joined #ocaml
<simon->
I have problems understanding this exercise:
<simon->
Write a function merge_i which takes as input two integer lists sorted in increasing order and returns a new sorted list containing the elements of the first two.
<simon->
am I supposed to leave the sorting mechanism as a specifiable function?
<simon->
so that merge_i itself doesn't sort, it just passes the lists to a sorting algorithm and returns the 'elements of the first two'?
__DL__ has joined #ocaml
<simon->
oh, I get it now.
<simon->
reading the next exercise clarifies it a bit.
ski has joined #ocaml
Kinners has joined #ocaml
noss has joined #ocaml
mattam has quit [Read error: 110 (Connection timed out)]
lam has quit ["leaving"]
lam has joined #ocaml
lam has quit [Client Quit]
karryall has joined #ocaml
lam has joined #ocaml
lam has quit [Client Quit]
lam has joined #ocaml
kosmikus|away is now known as kosmikus
lam has quit ["leaving"]
lam has joined #ocaml
bk_ has joined #ocaml
lam has quit ["leaving"]
jvee has joined #ocaml
<jvee>
lo
<Kinners>
yo
<karryall>
tiens, un nerimien
<jvee>
les francais en force, en toute logique ! ;)
* gl
nerimien aussi
lam has joined #ocaml
<bk_>
my online dictionary doesn't find "nerimien"
<karryall>
:)
<bk_>
:>
<karryall>
nerim is a french ISP
<bk_>
ah ok
lam has quit ["leaving"]
lam has joined #ocaml
noss has quit [Read error: 60 (Operation timed out)]
teratorn has quit [Read error: 110 (Connection timed out)]
<Banana>
You french people...
<Banana>
:)
<Banana>
s/You/We/
jvee has quit [Read error: 60 (Operation timed out)]
<simon->
I've asked before.. is there no default socket library in ocaml?
<karryall>
Unix ?
Kinners has quit ["leaving"]
<simon->
Reference to undefined global `Unix'
<simon->
and that's whether I refer to Unix.socket or open Unix ;; socket ;;
<karryall>
you have to link it first
<simon->
is that during the installation?
<simon->
maybe it's because I use the freebsd port, and the ports system considers it a security risk.
<karryall>
no, when you link your program
<simon->
oh, I cannot use Unix.socket in the interpreter?
<karryall>
yes you can
<karryall>
but I don't know if freebsd supports dynamic linking
<simon->
I believe that it does
<simon->
ldd: /usr/local/bin/ocaml: not a dynamic executable
<karryall>
then if you start the interpreter as:
<karryall>
ocaml unix.cma
<karryall>
it should work
<simon->
regardless of my cwd?
<simon->
ah, it does work. thanks. :)
<bk_>
o weird
<bk_>
# #use "unix.cma" ;;
<bk_>
File "/usr/lib/ocaml/unix.cma", line 1, characters 12-13:
<bk_>
Illegal character (\000)
<bk_>
works w/o error w/ findlib and require tho
<karryall>
s/use/load/
<bk_>
ok that was dumb of me
farizeo has joined #ocaml
fariseo has quit [Read error: 104 (Connection reset by peer)]
lus|uazze has joined #ocaml
gl has left #ocaml []
gl has joined #ocaml
gl has quit [Read error: 54 (Connection reset by peer)]
gl has joined #ocaml
vezenchio has quit [Read error: 60 (Operation timed out)]