gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.1 http://bit.ly/nNVIVH
Mnabil has quit [Ping timeout: 255 seconds]
hongboz has joined #ocaml
Mnabil has joined #ocaml
Asmadeus has joined #ocaml
iago has joined #ocaml
iago has quit [Quit: Leaving]
Asmadeus has quit [Remote host closed the connection]
Asmadeus has joined #ocaml
<ousado> there's no langauge support for locally opening modules, I assume?
<ousado> as in openin here: http://alain.frisch.fr/soft.html#openin
<ousado> ah I see, sorry for the noise
ankit9_ has quit [Ping timeout: 255 seconds]
<thelema> ousado: ocaml 3.12 and higher has builtin support for locally opening modules. The syntax I prefer is Foo.(...) to locally open module Foo in ...
<thelema> there's also another syntax for longer opens
Mnabil has quit [Ping timeout: 252 seconds]
<ousado> thelema: a sweet
<dsheets> how to use stream destructor/parser syntax with ocamlbuild?
ankit9_ has joined #ocaml
madroach has quit [Ping timeout: 265 seconds]
madroach has joined #ocaml
TechCel has joined #ocaml
Progster has quit [Ping timeout: 265 seconds]
TechCel has quit [Ping timeout: 260 seconds]
hongboz has left #ocaml []
hongboz has joined #ocaml
jamii has quit [Ping timeout: 248 seconds]
hongboz has quit [Ping timeout: 248 seconds]
cdidd has joined #ocaml
ankit9_ has quit [Quit: Leaving]
emmanuelux has quit [Read error: Connection reset by peer]
ankit9_ has joined #ocaml
hongboz has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
edwin has joined #ocaml
edwin has left #ocaml []
thomasga has joined #ocaml
djcoin has joined #ocaml
ftrvxmtrx has joined #ocaml
leoncamel has joined #ocaml
ocp has joined #ocaml
ocp has left #ocaml []
mika1 has joined #ocaml
ontologiae has joined #ocaml
hongboz has quit [Ping timeout: 248 seconds]
oka_ has joined #ocaml
Submarine has joined #ocaml
Submarine has quit [Changing host]
Submarine has joined #ocaml
thomasga has quit [Quit: Leaving.]
ontologiae has quit [Quit: Lost terminal]
sepp2k has joined #ocaml
adrien_oww has joined #ocaml
silver has joined #ocaml
mcclurmc_away is now known as mcclurmc
thomasga has joined #ocaml
avsm has joined #ocaml
Mnabil has joined #ocaml
<yezariaely> does Sys.command respect LD_LIBRARY_PATH and such?
<adrien> no reason it wouldn't I guess
<adrien> it's not up to it to respect LD_LIBRARY_PATH or not
<yezariaely> adrien: txh, I have some issues with libraries not beeing found and I have not a clue right now where the problems come from, because LD_LIBRARY_PATH contains the correct one
<yezariaely> and my assumption so far is, that the env var is somehow lost or changed
<yezariaely> adrien, ah well, does Unix.open_process respect this? because in the docs it says that command is interpreted by the shell /bin/sh
<adrien> yezariaely: then run the command '/bin/sh -c "echo $LD_LIBRARY_PATH"'
<adrien> or
<adrien> use strace
<adrien> strace -tt -f -o log your_command
avsm has quit [Quit: Leaving.]
Progster has joined #ocaml
Progster has quit []
_andre has joined #ocaml
ocp has joined #ocaml
leoncamel has quit [Ping timeout: 255 seconds]
hongboz has joined #ocaml
Ninju1 has joined #ocaml
bzzbzz has quit [Ping timeout: 252 seconds]
Ninju has quit [Ping timeout: 252 seconds]
hkBst has joined #ocaml
eni has joined #ocaml
sgnb has quit [Read error: Connection reset by peer]
oka_ has quit [Ping timeout: 245 seconds]
sgnb has joined #ocaml
chambart has joined #ocaml
sepp2k1 has joined #ocaml
sepp2k has quit [Ping timeout: 264 seconds]
eni has quit [Ping timeout: 246 seconds]
chambart has quit [Quit: Quitte]
ankit9_ has quit [Quit: Leaving]
sgnb has quit [Remote host closed the connection]
sgnb has joined #ocaml
willb has quit [Ping timeout: 245 seconds]
Progster has joined #ocaml
xcombelle has joined #ocaml
willb has joined #ocaml
smondet has joined #ocaml
UncleVasya has joined #ocaml
UVs has joined #ocaml
UncleVasya has quit [Ping timeout: 248 seconds]
UVs is now known as UncleVasya
mika1 has quit [Quit: Leaving.]
BiDOrD_ has joined #ocaml
BiDOrD has quit [Ping timeout: 246 seconds]
Progster has quit [Ping timeout: 260 seconds]
UVs has joined #ocaml
UncleVasya has quit [Ping timeout: 248 seconds]
hongboz has quit [Ping timeout: 248 seconds]
eni has joined #ocaml
alpounet has joined #ocaml
hkBst has quit [Quit: Konversation terminated!]
<ousado> any idea why dynlink wouldn't try the paths in the various locations listed here: http://caml.inria.fr/pub/docs/manual-ocaml/manual024.html#toc98 ?
<ousado> or are those only for C shared libraries?
<ousado> the dynlink C code suggests that it should try the ones listed there, but strace shows that it checks the current directory only
<ousado> hm.. ocamlrun is bytecode only?
<ousado> so that doesn't apply to native code
<adrien> shared libraries are .so files
<adrien> not .cma/cmxs here
silver has quit [Remote host closed the connection]
<ousado> adrien: cmxs are shared objects
<f[x]> ousado, cmxs are shared caml objects
<ousado> well, I TRUST THE FILE COMMAND
<ousado> uups
<ousado> sorry
<ousado> caps lock
<f[x]> dynlink loads file by path
sepp2k1 has quit [Remote host closed the connection]
maufred_ has quit [Remote host closed the connection]
maufred__ has quit [Remote host closed the connection]
Mnabil has quit [Read error: Operation timed out]
ftrvxmtrx has quit [Quit: Leaving]
avsm has joined #ocaml
<ousado> well, dynlink uses dlopen, but in case only a file name is given, it builds an absolute path using the current directory, so dlopen doesn't search the standard directories
osa1 has joined #ocaml
bzzbzz has joined #ocaml
osa1 has quit [Ping timeout: 246 seconds]
ocp has quit [Ping timeout: 245 seconds]
Ninju has joined #ocaml
Ninju1 has quit [Read error: Connection reset by peer]
Mnabil has joined #ocaml
johnnowak has joined #ocaml
johnnowak has left #ocaml []
eni has quit [Ping timeout: 264 seconds]
djcoin has quit [Quit: WeeChat 0.3.2]
UVs has quit [Read error: Connection reset by peer]
Ninju1 has joined #ocaml
Ninju has quit [Read error: Connection reset by peer]
UncleVasya has joined #ocaml
xcombelle has quit [Ping timeout: 260 seconds]
mcclurmc is now known as mcclurmc_away
UncleVasya has quit [Quit: UncleVasya]
cdidd has quit [Ping timeout: 246 seconds]
fezghoul has joined #ocaml
thomasga has quit [Ping timeout: 252 seconds]
<fezghoul> /leave
<fezghoul>
fezghoul has left #ocaml []
ftrvxmtrx has joined #ocaml
ftrvxmtrx has quit [Client Quit]
avsm has quit [Quit: Leaving.]
ftrvxmtrx has joined #ocaml
pango_ has joined #ocaml
pango has quit [Ping timeout: 272 seconds]
Anarchos has joined #ocaml
xcombelle has joined #ocaml
xcombelle has quit [Quit: I am a manual virus, please copy me to your quit message.]
Mnabil has quit [Ping timeout: 248 seconds]
UncleVasya has joined #ocaml
<UncleVasya> Hi. Can I write type 'a someType = 'a * 'a * 'a as a record? Assuming that 'a will be not a function but something like int, float, string.
<UncleVasya> Something like type 'a someType = {first : 'a; second : 'a; third : 'a}
<thizanne> you can write this, but you cannot ensure that 'a will not be a function
<_habnabit> UncleVasya, sure, why not
_andre has quit [Quit: leaving]
<UncleVasya> I found in manual type idref = {id: 'a. 'a -> 'a };; but I don't know how to use for values, not for function.
ftrvxmtrx has quit [Ping timeout: 252 seconds]
<_habnabit> UncleVasya, what you typed first is fine
ftrvxmtrx has joined #ocaml
<UncleVasya> wow, now it works.
<UncleVasya> Thanks. I thought type 'a is not allowed in records but it seems code had another problem (now it hasn't). :)
mariano has joined #ocaml
eni has joined #ocaml
mariano_ has joined #ocaml
mariano has quit [Quit: Leaving]
thomasga has joined #ocaml
thomasga has quit [Client Quit]
thomasga has joined #ocaml
alpounet has quit [Quit: Quitte]
bzzbzz has quit [Quit: leaving]
thomasga has quit [Quit: Leaving.]
bzzbzz has joined #ocaml
Xizor has joined #ocaml
eni has quit [Ping timeout: 240 seconds]
ocp has joined #ocaml
ocp has left #ocaml []
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
smondet has quit [Quit: Gotta go home]
osa1 has joined #ocaml
Drakken has quit [Ping timeout: 250 seconds]
Drakken has joined #ocaml
avsm has joined #ocaml
jamii has joined #ocaml
Xizor has quit []
jamii has quit [Read error: Connection reset by peer]
emmanuelux has joined #ocaml
Mnabil has joined #ocaml