<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
<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]
<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]