mbishop changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | Grab Ocaml 3.10.0 from http://caml.inria.fr/ocaml/release.html (featuring new camlp4 and more!)
Smerdyakov has joined #ocaml
m3ga has joined #ocaml
m3ga_ has joined #ocaml
m3ga_ has quit [Client Quit]
m3ga has quit [Read error: 104 (Connection reset by peer)]
m3ga has joined #ocaml
joshcryer has quit [Read error: 104 (Connection reset by peer)]
Jessehk has joined #ocaml
<Jessehk> Me again, with yet more questions. I'm trying to use ocamlbuild to generate documentation.
<Jessehk> I've looked at the manual, and I've created a file (like it says to) called camlcalc.odocl listing the modules I want documented.
<Jessehk> when I run camlcalc.docdir/index.html, the build fails.
<Jessehk> Any ideas one what I'm doing incorrectly? I'd be happy to post the exact error message if it would help. :)
<Jessehk> Anybody? Is it the way I'm asking? ;)
<mbishop> I don't know, but if you paste the error, I might be able to definitively tell you that I don't know :)
<Jessehk> :)
m3ga has quit [Read error: 104 (Connection reset by peer)]
<mbishop> Hmm, why does it say .odoc instead of .odocl in the errors?
<Jessehk> mbishop: I was wondering that too. I thought maybe there was a type in the manual, so I tried changing it to camlcalc.odoc
<Jessehk> I also get errors with that.
<Jessehk> *typo
<Jessehk> that's ironic
<Jessehk> :)
<Jessehk> mbishop: Ah, I think I figured it out. I didn't have any *.mli files, just *.ml
<Jessehk> Once I created the *.mli files, it worked.
Jessehk has quit ["Leaving"]
joshcryer has joined #ocaml
bzzbzz has joined #ocaml
_blackdog_ has quit [Remote closed the connection]
piggybox has left #ocaml []
ygrek has joined #ocaml
m3ga has joined #ocaml
Smerdyakov has quit ["Leaving"]
schme has joined #ocaml
_blackdog has joined #ocaml
ygrek has quit []
ygrek has joined #ocaml
screwt8 has quit [Remote closed the connection]
screwt8 has joined #ocaml
vital304 has joined #ocaml
vital303 has quit [Read error: 110 (Connection timed out)]
kelaouchi has quit ["leaving"]
kelaouchi has joined #ocaml
_blackdog has quit [Read error: 104 (Connection reset by peer)]
_blackdog has joined #ocaml
m3ga has quit ["disappearing into the sunset"]
ygrek has quit [Remote closed the connection]
nodie has joined #ocaml
Oxylin has joined #ocaml
bluestorm has joined #ocaml
ygrek has joined #ocaml
schme has quit [Remote closed the connection]
schme has joined #ocaml
schme has quit [Remote closed the connection]
kelaouchi has quit [Client Quit]
schme has joined #ocaml
kelaouchi has joined #ocaml
Oxylin has quit ["Ex-Chat"]
EliasAmaral has joined #ocaml
<EliasAmaral> I am trying to do non-blocking read from stdin. I found that working with unix file descrs might work, but when I try Unix.set_nonblock Unix.stdin, I get "Fatal error: exception Sys_blocked_io"
<EliasAmaral> do anyone know a way to circunvent this?
<EliasAmaral> well, i give up, i will create another thread :(
<EliasAmaral> Or.. I think I could use select.. duh
pants1 has joined #ocaml
G is now known as Gone
noteventime has joined #ocaml
vital304 has quit ["Leaving."]
vital303 has joined #ocaml
noteventime has quit [Remote closed the connection]
noteventime has joined #ocaml
_blackdog is now known as _blackdog_away
pants1 has quit [Read error: 60 (Operation timed out)]
pants1 has joined #ocaml
pants1 has quit [Client Quit]
nodie has left #ocaml []
noteventime has quit [Remote closed the connection]
kelaouchi has quit [Read error: 110 (Connection timed out)]
mikeX has joined #ocaml
mikeX_ has joined #ocaml
noteventime has joined #ocaml
mikeX has quit [Read error: 60 (Operation timed out)]
ygrek has quit [Remote closed the connection]
chs_ has quit []
Smerdyakov has joined #ocaml
pango_ has quit [Remote closed the connection]
pango_ has joined #ocaml
chs_ has joined #ocaml
kelaouchi has joined #ocaml
kelaouchi has quit [Read error: 54 (Connection reset by peer)]
kelaouchi has joined #ocaml
mikeX_ is now known as mikeX
_JusSx_ has joined #ocaml
descender has joined #ocaml
_JusSx__ has joined #ocaml
_JusSx_ has quit [Read error: 110 (Connection timed out)]
kelaouchi has quit [Read error: 104 (Connection reset by peer)]
_JusSx_ has joined #ocaml
kelaouchi has joined #ocaml
_JusSx__ has quit [Read error: 113 (No route to host)]
ygrek has joined #ocaml
vital304 has joined #ocaml
_JusSx__ has joined #ocaml
_JusSx_ has quit [Read error: 113 (No route to host)]
_JusSx_ has joined #ocaml
piggybox has joined #ocaml
_JusSx___ has joined #ocaml
kelaouchi has quit [Read error: 110 (Connection timed out)]
vital303 has quit [Read error: 110 (Connection timed out)]
_JusSx__1 has joined #ocaml
kelaouchi has joined #ocaml
_JusSx___ has quit [Read error: 60 (Operation timed out)]
_JusSx__ has quit [Read error: 110 (Connection timed out)]
_JusSx_ has quit [Read error: 110 (Connection timed out)]
_JusSx_ has joined #ocaml
_JusSx__1 has quit [Read error: 60 (Operation timed out)]
joshcryer has quit [Connection timed out]
_JusSx__ has joined #ocaml
_JusSx_ has quit [Read error: 113 (No route to host)]
Smerdyakov has quit ["BRB"]
Smerdyakov has joined #ocaml
_JusSx_ has joined #ocaml
fean has joined #ocaml
_JusSx___ has joined #ocaml
_JusSx__ has quit [Read error: 110 (Connection timed out)]
seto1 has joined #ocaml
<seto1> hi all
_JusSx_ has quit [Read error: 113 (No route to host)]
ygrek has quit []
<tsuyoshi> what's a good way to deal with a function that needs to be different depending on the size of an integer? (32 versus 64 bit)
<Smerdyakov> The question is too general.
<flux> I guess there are in principle two approaches: parametrized modules or passing the functions required to manipulate the data as parameters
<flux> I think the first approach is more idiomatic ml
<flux> and with some ml compilers it might actually be fast.. sadly not with ocaml, and the defunctorizer has been unmaintained for quite long so that's not an answer either
descender has quit ["Elegance has the disadvantage that hard work is needed to achieve it and a good education to appreciate it. - E. W. Dijkstra"]
<flux> but I'm off to sleep, happy hacking
seto1 has quit ["WeeChat 0.2.4"]
<tsuyoshi> well, those are both runtime solutions
<tsuyoshi> I'd like it to happen during compile time
<tsuyoshi> I guess I can just make a symlink to the right code during build
<Smerdyakov> How is using functors a "runtime solution"?
mnemonic has quit [Read error: 54 (Connection reset by peer)]
<mbishop> So ocaml has experimental dynamic linking eh?
<tsuyoshi> it does?
<tsuyoshi> oh it does
<tsuyoshi> yeah, just saw that in the mailing list
mnemonic has joined #ocaml
<tsuyoshi> nice
kelaouch1 has joined #ocaml
kelaouchi has quit [Read error: 104 (Connection reset by peer)]
mnemonic has quit ["Lost terminal"]
mnemonic has joined #ocaml
<tsuyoshi> it's only making pic for amd64 though
<tsuyoshi> doesn't that mean the code isn't shared between different processes?
<lucca> that's a hazard with normal dynamic linking unless your os/distribution cleverly precalculates viable addresses for all combinations of libraries, I think
<tsuyoshi> hrm.. I don't even really know how dynamic linking works in c
<tsuyoshi> I would think that with nonpic, the linker rewrites all the addresses in relation to where the code is loaded
fridim has joined #ocaml
<tsuyoshi> huh.. windows doesn't use pic at all
_JusSx___ has quit ["leaving"]
bluestorm has quit ["Konversation terminated!"]
cflag has joined #ocaml
Gone is now known as G
cpfr has quit [Read error: 110 (Connection timed out)]
benny_ has joined #ocaml
benny has quit [Read error: 110 (Connection timed out)]