<gour>
there is also gmane interface, but it's pretty much the same
tulloch_ has joined #ocaml
darkf has quit [Quit: Leaving]
skchrko has quit [Ping timeout: 246 seconds]
shinnya has joined #ocaml
cesar has joined #ocaml
cesar is now known as Guest23549
zpe has joined #ocaml
<Drup>
mrvn: I'm sure you know this : Can I do a deep copy of some structure ?
skchrko has joined #ocaml
ollehar has quit [Ping timeout: 246 seconds]
mcclurmc has joined #ocaml
Guest23549 has quit [Ping timeout: 265 seconds]
tulloch has quit [Ping timeout: 265 seconds]
tulloch_ has quit [Ping timeout: 248 seconds]
Yoric has joined #ocaml
tulloch has joined #ocaml
tulloch_ has joined #ocaml
q66 has quit [Quit: Leaving]
boogie has joined #ocaml
q66 has joined #ocaml
talzeus has quit [Remote host closed the connection]
talzeus has joined #ocaml
t0yv0 has joined #ocaml
csakatoku has joined #ocaml
csakatoku has quit [Read error: No route to host]
csakatok_ has joined #ocaml
cesar has joined #ocaml
csakatoku has joined #ocaml
talzeus has quit [Read error: Connection reset by peer]
cesar is now known as Guest99987
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
Guest99987 has quit [Remote host closed the connection]
boogie has quit [Remote host closed the connection]
talzeus has joined #ocaml
talzeus has quit [Remote host closed the connection]
csakatok_ has quit [Ping timeout: 272 seconds]
xlq has joined #ocaml
talzeus has joined #ocaml
<xlq>
How do I link to the library containing expm1 with ocamlbuild?
csakatoku has quit [Ping timeout: 272 seconds]
<adrien_oww>
you're getting an error messagE?
<xlq>
Error: Unbound value expm1
<xlq>
But it works in the interpreter.
<adrien_oww>
what is the command you're running?
<xlq>
I seem to remember having to link to some sort of math library but I can't remember what it's called.
<xlq>
ocamlbuild foo.native
<adrien_oww>
can you pastebin the code?
<nicoo>
xlq: cat ~/.ocamlinit please
<xlq>
No such file or directory.
<nicoo>
Ok
<nicoo>
Good :)
<adrien_oww>
:)
<xlq>
foo.ml is: let _ = print_endline (string_of_float (expm1 1.0))
<Drup>
expm1 should be avaible, so the error is probably somewhere else
ollehar has joined #ocaml
<Drup>
xlq: did you have opam installed with a different switch than the system one ?
<nicoo>
xlq: Compiles here. Output of "which ocaml" and "which ocamlbuild" ?
<nicoo>
Drup: Seems we had the same idea :)
<nicoo>
Drup: Though expm1 is here since 3.12.0. That's pretty old
<xlq>
Ahh, I see. There are two versions installed. The version in /usr is 3.11.2.
<Drup>
xlq: you are a debian guy, I suppose ? :D
<xlq>
Scientific Linux 6, and I'm not root. :P
<xlq>
But yes, with my own systems I'm a Debian guy. :P
<adrien_oww>
3.11.2, ouch; that's really
<adrien_oww>
old
<Drup>
I don't even now this distribution =')
<Drup>
know*
<xlq>
Sorry for the bother. :P
<Drup>
xlq: you should use opam to take care of the good configuration in user space
<xlq>
The weird thing is that ocamlbuild was printing out the full path to ocaml-3.12.0/bin/ocamlc before, and now it's not. :o
w0rm_x has left #ocaml []
<nicoo>
xlq: Did you change ${PATH} in between ?
WraithM_ has joined #ocaml
mchqwerty has quit [Quit: Odcházím]
mchqwerty has joined #ocaml
<xlq>
Nope.
<nicoo>
Did you use a new instance of your shell ? (Perhaps your friendly, neighbourly BOFH changed ${PATH} system-wide)
<nicoo>
Anyways, now you know the problem :D
giantdouche has left #ocaml []
csakatoku has joined #ocaml
BitPuffin has quit [Ping timeout: 272 seconds]
<xlq>
Yeah, thanks. :) And no, it was the same shell. :P
mcclurmc has quit [Remote host closed the connection]
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
ygrek has quit [Ping timeout: 272 seconds]
talzeus has quit [Read error: Connection reset by peer]
mcclurmc has joined #ocaml
csakatoku has quit [Ping timeout: 240 seconds]
strobegen1 has joined #ocaml
strobegen has quit [Read error: Operation timed out]
gour has quit [Disconnected by services]
gour_ has joined #ocaml
boogie has joined #ocaml
dsheets_ has quit [Ping timeout: 245 seconds]
cesar has joined #ocaml
cesar is now known as Guest92749
gour_ is now known as gour
t4nk331 has joined #ocaml
<t4nk331>
Can someone help me with VERY basic questions?
WraithM__ has joined #ocaml
<Drup>
t4nk331: don't ask to ask :p
<t4nk331>
they are just so basic that I assume everyone knows the answers except me ... I don't know how to create a .ml file
<t4nk331>
I've written my first program (I think), and need to send it to the lecturer. Now I don't know what to do
<Drup>
it's just a regular text file, except it ends by .ml
WraithM_ has quit [Ping timeout: 245 seconds]
<t4nk331>
so I just copy my stuff into TextEdit or whatever and save it?
mchqwerty has quit [Ping timeout: 252 seconds]
<alex_nx>
t4nk331, yes.
<Drup>
sure
<t4nk331>
oh, ok
<t4nk331>
thanks!
saml has joined #ocaml
Guest92749 has quit [Remote host closed the connection]
mika1 has quit [Quit: Leaving.]
cago has left #ocaml []
<ggole>
Doesn't TextEdit save in RTF format by default? If so, you might have to change that.
dsheets_ has joined #ocaml
ygrek has joined #ocaml
Arsenik has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
t4nk331 has quit [Ping timeout: 250 seconds]
t4nk069 has joined #ocaml
<t4nk069>
Hallo! How do I open .ml files?
<rks`>
t4nk069: « notepad.exe foo.ml »
<Kakadu>
t4nk069: have you been in this conference today?
<t4nk069>
I've written a program, saved it as a .ml file and I'm running OCaml in the Terminal; I've tried #use "<file.ml>", but it tells me that it cannot find the file...
<ggole>
With the <>s there?
ygrek has quit [Ping timeout: 252 seconds]
t4nk949 has joined #ocaml
t4nk069 has quit [Ping timeout: 250 seconds]
t4nk949 has quit [Ping timeout: 250 seconds]
sepp2k has quit [Quit: Konversation terminated!]
shinnya has quit [Ping timeout: 272 seconds]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
zpe has quit [Ping timeout: 272 seconds]
<Kakadu>
where can I find goji input file for jquery?
boogie has quit [Remote host closed the connection]
ttamttam1 has joined #ocaml
ttamttam has quit [Read error: Connection reset by peer]
ttamttam1 has quit [Read error: Connection reset by peer]
ttamttam has joined #ocaml
WraithM_ has joined #ocaml
ttamttam1 has joined #ocaml
Yoric has quit [Ping timeout: 240 seconds]
ttamttam1 has quit [Read error: Connection reset by peer]
ttamttam1 has joined #ocaml
ttamttam has quit [Read error: Connection reset by peer]
q66 has quit [Ping timeout: 246 seconds]
q66 has joined #ocaml
ttamttam has joined #ocaml
ttamttam1 has quit [Read error: Connection reset by peer]
ttamttam has quit [Read error: Connection reset by peer]
ttamttam has joined #ocaml
WraithM__ has quit [Ping timeout: 272 seconds]
Anarchos has joined #ocaml
ttamttam has quit [Quit: ttamttam]
gnuvince has joined #ocaml
gnuvince has quit [Changing host]
gnuvince has joined #ocaml
Xenasis has joined #ocaml
mcclurmc has joined #ocaml
yacks has joined #ocaml
yacks has quit [Max SendQ exceeded]
yacks has joined #ocaml
boogie has joined #ocaml
AltGr has left #ocaml []
AltGr has joined #ocaml
gnuvince has quit [Ping timeout: 240 seconds]
Kakadu has quit []
zpe has joined #ocaml
AltGr has left #ocaml []
AltGr has joined #ocaml
jonludlam has quit [Ping timeout: 272 seconds]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
AltGr has left #ocaml []
AltGr has joined #ocaml
zpe has quit [Ping timeout: 272 seconds]
AltGr has left #ocaml []
AltGr has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
AltGr has left #ocaml []
AltGr has joined #ocaml
mcclurmc has joined #ocaml
gdk has joined #ocaml
jonludlam has joined #ocaml
AltGr has left #ocaml []
manizzle has quit [Ping timeout: 252 seconds]
baz_ has joined #ocaml
ggole has quit []
stevej has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
dsheets_ has quit [Ping timeout: 245 seconds]
jonludlam has quit [Remote host closed the connection]
pkrnj has joined #ocaml
zpe has joined #ocaml
zpe has quit [Ping timeout: 246 seconds]
mchqwerty has joined #ocaml
watermind has joined #ocaml
watermind has quit [Client Quit]
manizzle has joined #ocaml
thomasga has joined #ocaml
szacun has joined #ocaml
thomasga has quit [Client Quit]
_andre has quit [Quit: leaving]
<szacun>
Hi! My homework is to write module implementing mutable queue using cyclic array, here is specyfication: http://pastebin.com/B48Dtigm. I've already encountered a problem with creating empty queue in empty function. How can i create n-element array without knowig what will be stored in this array? Do I have to store queue length, and create an array when first item will be put into queue?
bitbckt has quit [Ping timeout: 240 seconds]
bitbckt has joined #ocaml
<xlq>
szacun: You can fill the array with some meaningless zero value, and store alongside it information about which elements are sued.
<xlq>
Err, *used.
<szacun>
xlq: Do you mean int 0? Wouldn't this create an int array?
<xlq>
Well, some value of whatever type you're putting in the array.
<xlq>
If this is a generic queue then maybe it has to be parameterised by an empty value of that type.
dsheets_ has joined #ocaml
<szacun>
This is the thing. As far as i understand given description, the only argument, "empty" function receives is length of queue, nothing about what will be stored in queue
<whitequark>
make it an array of 'a option, then store None for all the empty elements
<xlq>
Or that.
<xlq>
Why didn't I think of that? :P
<szacun>
whitequark: This is it. Thanks
tulloch has quit [Ping timeout: 264 seconds]
tulloch_ has quit [Ping timeout: 252 seconds]
kyrylo has joined #ocaml
t0yv0 has quit [Quit: Page closed]
Yoric has joined #ocaml
gnuvince has joined #ocaml
gnuvince has quit [Changing host]
gnuvince has joined #ocaml
szacun has quit [Quit: Page closed]
zpe has joined #ocaml
gdk has quit [Ping timeout: 272 seconds]
strmpnk has left #ocaml []
skchrko has quit [Quit: Leaving]
tulloch has joined #ocaml
jonludlam has joined #ocaml
tulloch_ has joined #ocaml
BitPuffin has joined #ocaml
smondet has quit [Quit: leaving]
baz_ has quit [Remote host closed the connection]
baz_ has joined #ocaml
<xlq>
git
<xlq>
Please excuse me. Wrong window.
Anarchos has quit [Quit: Vision[0.9.7-H-280704]: i've been blurred!]
<xlq>
Also I was referring to the version control software. :P
<adrien>
:)
<adrien>
I thought you were refering to <hmmm-let's-pick-someone-at-random>
talzeus has joined #ocaml
thomasga has joined #ocaml
baz_ has quit [Remote host closed the connection]
as has joined #ocaml
Neros has quit [Ping timeout: 252 seconds]
travisbrady has joined #ocaml
smondet has joined #ocaml
nikki93 has joined #ocaml
nikki93 has quit [Client Quit]
travisbrady has quit [Ping timeout: 246 seconds]
tulloch has quit [Read error: Connection reset by peer]
tulloch_ has quit [Read error: Connection reset by peer]
tulloch has joined #ocaml
manizzle has quit [Ping timeout: 246 seconds]
tulloch_ has joined #ocaml
Arsenik has quit [Read error: Connection reset by peer]
nikki93 has joined #ocaml
mcclurmc has joined #ocaml
manizzle has joined #ocaml
SanderM has joined #ocaml
nikki93 has quit []
zpe has quit [Remote host closed the connection]
gour has quit [Quit: WeeChat 0.4.2]
darkf has joined #ocaml
zpe has joined #ocaml
as has quit [Quit: meritocracy]
Neros has joined #ocaml
zpe has quit [Ping timeout: 272 seconds]
ontologiae has quit [Ping timeout: 272 seconds]
mchqwerty has quit [Remote host closed the connection]
thizanne has quit [Ping timeout: 272 seconds]
talzeus has quit [Read error: Connection reset by peer]
willtim has joined #ocaml
talzeus has joined #ocaml
gnuvince has quit [Ping timeout: 265 seconds]
manizzle has quit [Ping timeout: 264 seconds]
thomasga has quit [Quit: Leaving.]
stomp has quit [Ping timeout: 260 seconds]
stomp has joined #ocaml
malo has joined #ocaml
strobegen1 has quit [Quit: Leaving.]
Neros has quit [Ping timeout: 245 seconds]
mcclurmc has quit [Read error: Connection reset by peer]
mcclurmc has joined #ocaml
nikki93 has joined #ocaml
manizzle has joined #ocaml
q66 has quit [Quit: Leaving]
Neros has joined #ocaml
q66 has joined #ocaml
mcclurmc has quit [Read error: Connection reset by peer]
mcclurmc has joined #ocaml
nikki93 has quit [Remote host closed the connection]
mcclurmc has quit [Read error: Connection reset by peer]
mcclurmc has joined #ocaml
Xenasis has quit [Remote host closed the connection]