flux changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 4.01.0 http://bit.ly/1851A3R | http://www.ocaml.org | Public logs at http://tunes.org/~nef/logs/ocaml/
Arach has quit [Remote host closed the connection]
nikki93 has quit [Remote host closed the connection]
mcclurmc has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
nikki93 has joined #ocaml
mort___ has quit [Quit: Leaving.]
dant3 has joined #ocaml
ontologiae has quit [Ping timeout: 246 seconds]
nikki93 has quit [Remote host closed the connection]
dant3 has quit [Ping timeout: 252 seconds]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
zpe has quit [Ping timeout: 246 seconds]
rwmjones has quit [Read error: Operation timed out]
cesar_ has joined #ocaml
cesar_ is now known as Guest93542
nikki93 has joined #ocaml
honewolf has joined #ocaml
rwmjones has joined #ocaml
nikki93 has quit [Remote host closed the connection]
nikki93 has joined #ocaml
BiDOrD has quit [Ping timeout: 245 seconds]
lostcuaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nikki93 has quit [Remote host closed the connection]
BiDOrD has joined #ocaml
xkb has quit [Ping timeout: 245 seconds]
bicgena has quit [Ping timeout: 272 seconds]
xkb_ has joined #ocaml
Guest93542 has quit [Remote host closed the connection]
bicgena has joined #ocaml
ggherdov has quit [Ping timeout: 245 seconds]
bobry has quit [Ping timeout: 264 seconds]
nikki93 has joined #ocaml
divyansr_ has quit [Ping timeout: 272 seconds]
bobry has joined #ocaml
divyansr__ has joined #ocaml
nikki93 has quit [Remote host closed the connection]
honewolf has left #ocaml []
nikki93 has joined #ocaml
ggherdov has joined #ocaml
shinnya has joined #ocaml
oriba has quit [Quit: oriba]
nikki93 has quit [Remote host closed the connection]
nrlucaroni has quit [Ping timeout: 245 seconds]
cesar_ has joined #ocaml
cesar_ is now known as Guest4765
ivan\ has quit [Ping timeout: 260 seconds]
ivan\ has joined #ocaml
nikki93 has joined #ocaml
zpe has joined #ocaml
nikki93 has quit [Remote host closed the connection]
zpe has quit [Ping timeout: 245 seconds]
nikki93 has joined #ocaml
nrlucaroni has joined #ocaml
Guest4765 has quit [Remote host closed the connection]
TDJACR has quit [Ping timeout: 264 seconds]
nikki93 has quit [Remote host closed the connection]
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
sheijk has joined #ocaml
TDJACR has joined #ocaml
ygrek has joined #ocaml
kyrylo has joined #ocaml
nikki93 has joined #ocaml
zpe has joined #ocaml
nikki93 has quit [Remote host closed the connection]
arjunguha has joined #ocaml
tnguyen has joined #ocaml
zpe has quit [Ping timeout: 272 seconds]
divyansr has joined #ocaml
divyansr has quit [Ping timeout: 272 seconds]
watermind has quit [Quit: Konversation terminated!]
watermind has joined #ocaml
watermind has quit [Client Quit]
watermind has joined #ocaml
watermind has quit [Client Quit]
watermind has joined #ocaml
tnguyen has quit [Quit: tnguyen]
ollehar has quit [Ping timeout: 252 seconds]
zpe has joined #ocaml
nikki93 has joined #ocaml
zpe has quit [Ping timeout: 272 seconds]
kyrylo has quit [Read error: Operation timed out]
ygrek has quit [Ping timeout: 272 seconds]
jao has quit [Ping timeout: 272 seconds]
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nrlucaroni> in ocamlfind, is there a reason when installing that a file that exists and is mentioned in the output to be installed at a particular location would not be? It isn't installing a c-library file (.a file), but everything else is fine.
nrlucaroni has quit [Ping timeout: 245 seconds]
zRecursive has joined #ocaml
sheijk has quit [Quit: n8]
nrlucaroni has joined #ocaml
nonenone has joined #ocaml
nonenone has left #ocaml []
ygrek has joined #ocaml
ollehar has joined #ocaml
TDJACR has quit [Ping timeout: 245 seconds]
TDJACR has joined #ocaml
ollehar has quit [Ping timeout: 252 seconds]
nrlucaroni has quit [Quit: leaving]
watermind has quit [Quit: Konversation terminated!]
TDJACR has quit [Excess Flood]
onderbroek is now known as CisEvil
TDJACR has joined #ocaml
TDJACR has quit [Excess Flood]
TDJACR has joined #ocaml
TDJACR has quit [Excess Flood]
TDJACR has joined #ocaml
TDJACR has quit [Ping timeout: 245 seconds]
q66 has quit [Quit: Leaving]
nikki93 has quit [Remote host closed the connection]
nikki93_ has joined #ocaml
ollehar has joined #ocaml
ggole has joined #ocaml
dant3 has joined #ocaml
nikki93_ has quit [Remote host closed the connection]
nikki93 has joined #ocaml
ggole has quit [Read error: Connection timed out]
ggole has joined #ocaml
wwilly has joined #ocaml
<wwilly> bonjour
TDJACR has joined #ocaml
TDJACR has quit [Ping timeout: 245 seconds]
dant3 has quit [Remote host closed the connection]
mhi^ has joined #ocaml
TDJACR has joined #ocaml
mort___ has joined #ocaml
TDJACR has quit [Ping timeout: 245 seconds]
bondar has joined #ocaml
Kakadu has joined #ocaml
bondar has quit [Max SendQ exceeded]
dant3 has joined #ocaml
honewolf has joined #ocaml
dant3 has quit [Read error: No route to host]
dant3 has joined #ocaml
dant3 has quit [Ping timeout: 260 seconds]
zRecursive has left #ocaml []
axiles has joined #ocaml
dant3 has joined #ocaml
dant3 has quit [Read error: Operation timed out]
sato has joined #ocaml
ollehar has quit [Ping timeout: 252 seconds]
zarul has quit [Ping timeout: 248 seconds]
zarul has joined #ocaml
sato has quit [Quit: さようなら]
zpe has joined #ocaml
dant3 has joined #ocaml
zpe has quit [Ping timeout: 252 seconds]
deavid has quit [Quit: No Ping reply in 180 seconds.]
deavid has joined #ocaml
rwmjones has quit [Ping timeout: 252 seconds]
nikki93 has quit [Remote host closed the connection]
<gasche> 22:48 < def-lkb> (in a rather counterintuitive way, it seems that the wiki is more appropriate… https://github.com/the-lambda-church/merlin/wiki/vim-from-scratch :P)
<gasche> that's because you counter-intuitively decided to remove useful content from the README.org, which serves as public webpage for a github project
<Kakadu> Fellas, how can I use my custom ocamlbuild rule? https://github.com/Kakadu/QOcamlBrowser_quick/blob/ocamlbuild/myocamlbuild.ml#L61
<Kakadu> naive invokation doesn't work : http://paste.in.ua/9248/raw/
mort___ has quit [Quit: Leaving.]
rwmjones has joined #ocaml
lostcuaz has joined #ocaml
<gasche> Kakadu: patch incoming
ollehar has joined #ocaml
thomasga has quit [Quit: Leaving.]
thomasga has joined #ocaml
rwmjones has quit [Ping timeout: 252 seconds]
<Kakadu> many thanks
thomasga has quit [Quit: Leaving.]
ggole has quit []
thomasga has joined #ocaml
zpe has joined #ocaml
rwmjones has joined #ocaml
zpe has quit [Ping timeout: 252 seconds]
rwmjones has quit [Read error: Operation timed out]
ulfdoz has joined #ocaml
pminten has joined #ocaml
nikki93 has joined #ocaml
ben_m has joined #ocaml
pminten has quit [Client Quit]
rwmjones has joined #ocaml
pminten has joined #ocaml
ollehar has quit [Ping timeout: 252 seconds]
honewolf has left #ocaml []
zxqdms has joined #ocaml
zpe has joined #ocaml
zpe has quit [Ping timeout: 252 seconds]
ddosia has quit [Quit: Leaving.]
ddosia has joined #ocaml
ccasin has quit [*.net *.split]
rgrinberg1 has quit [*.net *.split]
bitbckt has quit [*.net *.split]
bjorkintosh has quit [*.net *.split]
pminten has quit [*.net *.split]
madroach has quit [*.net *.split]
mreca has quit [*.net *.split]
bernardofpc has quit [*.net *.split]
erider has quit [*.net *.split]
ousado has quit [*.net *.split]
troydm has quit [*.net *.split]
emias has quit [*.net *.split]
_toordog has quit [*.net *.split]
Qrntz has quit [*.net *.split]
tlockney has quit [*.net *.split]
rwmjones has quit [*.net *.split]
zarul has quit [*.net *.split]
ivan\ has quit [*.net *.split]
Snark has quit [*.net *.split]
rz has quit [*.net *.split]
metasyntax has quit [*.net *.split]
fayden has quit [*.net *.split]
mfp_ has quit [*.net *.split]
olasd has quit [*.net *.split]
ben_m has quit [*.net *.split]
wwilly has quit [*.net *.split]
ygrek has quit [*.net *.split]
BiDOrD has quit [*.net *.split]
xaimus has quit [*.net *.split]
tianon has quit [*.net *.split]
yastero has quit [*.net *.split]
Ptival has quit [*.net *.split]
ddosia has quit [*.net *.split]
pango has quit [*.net *.split]
osa1_ has quit [*.net *.split]
cdidd has quit [*.net *.split]
contempt has quit [*.net *.split]
cantstanya has quit [*.net *.split]
willb2 has quit [*.net *.split]
japesinator has quit [*.net *.split]
nk0 has quit [*.net *.split]
amiller has quit [*.net *.split]
pippijn has quit [*.net *.split]
Nahra has quit [*.net *.split]
gereedy has quit [*.net *.split]
balouis has quit [*.net *.split]
cthuluh has quit [*.net *.split]
maurer has quit [*.net *.split]
wormphlegm has quit [*.net *.split]
asmanur has quit [*.net *.split]
tizoc has quit [*.net *.split]
adrien has quit [*.net *.split]
_habnabit has quit [*.net *.split]
teiresias has quit [*.net *.split]
talzeus__ has quit [*.net *.split]
adrien_oww has quit [*.net *.split]
rossberg_ has quit [*.net *.split]
CalimeroTeknik has quit [*.net *.split]
salc has quit [*.net *.split]
Derander_ has quit [*.net *.split]
CisEvil has quit [*.net *.split]
dkg has quit [*.net *.split]
gustav_ has quit [*.net *.split]
Armael has quit [*.net *.split]
marky has quit [*.net *.split]
mehdid has quit [*.net *.split]
patronus has quit [*.net *.split]
jave has quit [*.net *.split]
maufred_ has quit [*.net *.split]
dRbiG has quit [*.net *.split]
gargawel_ has quit [*.net *.split]
chris2 has quit [*.net *.split]
nicoo has quit [*.net *.split]
rixed_ has quit [*.net *.split]
gasche has quit [*.net *.split]
yroeht1 has quit [*.net *.split]
divyansr__ has quit [*.net *.split]
ggherdov has quit [*.net *.split]
dsheets has quit [*.net *.split]
lopex has quit [*.net *.split]
jzelinskie has quit [*.net *.split]
srcerer has quit [*.net *.split]
sgnb has quit [*.net *.split]
orbitz has quit [*.net *.split]
mal`` has quit [*.net *.split]
nickmeharry has quit [*.net *.split]
tristero has quit [*.net *.split]
mrvn has quit [*.net *.split]
thorsten` has quit [*.net *.split]
vbmithr_ has quit [*.net *.split]
testcocoon has quit [*.net *.split]
thizanne has quit [*.net *.split]
hyperboreean has quit [*.net *.split]
hcarty has quit [*.net *.split]
xian has quit [*.net *.split]
ia0 has quit [*.net *.split]
seliopou has quit [*.net *.split]
Cypi has quit [*.net *.split]
kerneis has quit [*.net *.split]
smiler has quit [*.net *.split]
dinosaure has quit [*.net *.split]
dant3 has quit [*.net *.split]
Kakadu has quit [*.net *.split]
Drup has quit [*.net *.split]
NoNNaN has quit [*.net *.split]
lostcuaz has quit [*.net *.split]
mhi^ has quit [*.net *.split]
shinnya has quit [*.net *.split]
bicgena has quit [*.net *.split]
xkb_ has quit [*.net *.split]
milosn has quit [*.net *.split]
The_third_man has quit [*.net *.split]
julm has quit [*.net *.split]
alex_nx has quit [*.net *.split]
flux has quit [*.net *.split]
zzz_ has quit [*.net *.split]
tov_ has quit [*.net *.split]
bacam has quit [*.net *.split]
ohama has quit [*.net *.split]
j0sh has quit [*.net *.split]
qrada has quit [*.net *.split]
tristan_1 has quit [*.net *.split]
companion_cube has quit [*.net *.split]
whitequark has quit [*.net *.split]
thomasga has quit [*.net *.split]
axiles has quit [*.net *.split]
_5kg has quit [*.net *.split]
samebchase has quit [*.net *.split]
iZsh has quit [*.net *.split]
aggelos has quit [*.net *.split]
mathieui has quit [*.net *.split]
inr has quit [*.net *.split]
diginux__ has quit [*.net *.split]
ericbmerritt has quit [*.net *.split]
jdoles has quit [*.net *.split]
WraithM has quit [*.net *.split]
rks` has quit [*.net *.split]
TaXules_ has quit [*.net *.split]
Leonidas has quit [*.net *.split]
k4nar_ has quit [*.net *.split]
mdenes has quit [*.net *.split]
brendan has quit [*.net *.split]
jpdeplaix has quit [*.net *.split]
wagle has quit [*.net *.split]
cross has quit [*.net *.split]
CissWit has quit [*.net *.split]
vpm has quit [*.net *.split]
pedagand_ has quit [*.net *.split]
Asmadeus has quit [*.net *.split]
deavid has quit [*.net *.split]
bobry has quit [*.net *.split]
darkf has quit [*.net *.split]
robink has quit [*.net *.split]
PM has quit [*.net *.split]
leifw has quit [*.net *.split]
smondet has quit [*.net *.split]
caligula_ has quit [*.net *.split]
esden has quit [*.net *.split]
def-lkb has quit [*.net *.split]
fds has quit [*.net *.split]
tautologico has quit [*.net *.split]
stomp has quit [*.net *.split]
jlouis has quit [*.net *.split]
so has quit [*.net *.split]
bholst has quit [*.net *.split]
Khady has quit [*.net *.split]
rom1504 has quit [*.net *.split]
Khady has joined #ocaml
bholst has joined #ocaml
so has joined #ocaml
jlouis has joined #ocaml
rom1504 has joined #ocaml
stomp has joined #ocaml
tautologico has joined #ocaml
fds has joined #ocaml
def-lkb has joined #ocaml
esden has joined #ocaml
caligula_ has joined #ocaml
smondet has joined #ocaml
leifw has joined #ocaml
PM has joined #ocaml
robink has joined #ocaml
bobry has joined #ocaml
deavid has joined #ocaml
ccasin_ has joined #ocaml
bjorkintosh has joined #ocaml
bitbckt has joined #ocaml
rwmjones has joined #ocaml
rand000 has joined #ocaml
Amanite has joined #ocaml
ontologiae has joined #ocaml
rgrinberg1 has joined #ocaml
darkf has joined #ocaml
ddosia has joined #ocaml
pminten has joined #ocaml
ben_m has joined #ocaml
thomasga has joined #ocaml
lostcuaz has joined #ocaml
dant3 has joined #ocaml
zarul has joined #ocaml
axiles has joined #ocaml
Kakadu has joined #ocaml
mhi^ has joined #ocaml
wwilly has joined #ocaml
ygrek has joined #ocaml
ivan\ has joined #ocaml
shinnya has joined #ocaml
ggherdov has joined #ocaml
divyansr__ has joined #ocaml
bicgena has joined #ocaml
xkb_ has joined #ocaml
BiDOrD has joined #ocaml
NoNNaN has joined #ocaml
madroach has joined #ocaml
mreca has joined #ocaml
pango has joined #ocaml
milosn has joined #ocaml
testcocoon has joined #ocaml
dsheets has joined #ocaml
talzeus__ has joined #ocaml
Snark has joined #ocaml
_5kg has joined #ocaml
lopex has joined #ocaml
jzelinskie has joined #ocaml
srcerer has joined #ocaml
osa1_ has joined #ocaml
rz has joined #ocaml
cdidd has joined #ocaml
adrien_oww has joined #ocaml
jdoles has joined #ocaml
contempt has joined #ocaml
japesinator has joined #ocaml
cantstanya has joined #ocaml
xaimus has joined #ocaml
samebchase has joined #ocaml
willb2 has joined #ocaml
metasyntax has joined #ocaml
gereedy has joined #ocaml
tianon has joined #ocaml
fayden has joined #ocaml
mfp_ has joined #ocaml
olasd has joined #ocaml
The_third_man has joined #ocaml
jpdeplaix has joined #ocaml
nk0 has joined #ocaml
yastero has joined #ocaml
amiller has joined #ocaml
bernardofpc has joined #ocaml
erider has joined #ocaml
wagle has joined #ocaml
iZsh has joined #ocaml
vpm has joined #ocaml
thizanne has joined #ocaml
hyperboreean has joined #ocaml
WraithM has joined #ocaml
hcarty has joined #ocaml
teh_rasterer has joined #ocaml
ousado has joined #ocaml
rossberg_ has joined #ocaml
pippijn has joined #ocaml
CalimeroTeknik has joined #ocaml
cross has joined #ocaml
troydm has joined #ocaml
sgnb has joined #ocaml
Nahra has joined #ocaml
orbitz has joined #ocaml
Ptival has joined #ocaml
jave has joined #ocaml
mal`` has joined #ocaml
balouis has joined #ocaml
CissWit has joined #ocaml
cthuluh has joined #ocaml
maufred_ has joined #ocaml
dRbiG has joined #ocaml
pedagand_ has joined #ocaml
gargawel_ has joined #ocaml
chris2 has joined #ocaml
Asmadeus has joined #ocaml
maurer has joined #ocaml
wormphlegm has joined #ocaml
nicoo has joined #ocaml
asmanur has joined #ocaml
tizoc has joined #ocaml
rixed_ has joined #ocaml
nickmeharry has joined #ocaml
adrien has joined #ocaml
_habnabit has joined #ocaml
tristero has joined #ocaml
gasche has joined #ocaml
yroeht1 has joined #ocaml
teiresias has joined #ocaml
patronus has joined #ocaml
mehdid has joined #ocaml
Armael has joined #ocaml
gustav_ has joined #ocaml
dkg has joined #ocaml
marky has joined #ocaml
Derander_ has joined #ocaml
salc has joined #ocaml
julm has joined #ocaml
alex_nx has joined #ocaml
flux has joined #ocaml
rks` has joined #ocaml
zzz_ has joined #ocaml
tov_ has joined #ocaml
mrvn has joined #ocaml
bacam has joined #ocaml
thorsten` has joined #ocaml
ohama has joined #ocaml
vbmithr_ has joined #ocaml
j0sh has joined #ocaml
qrada has joined #ocaml
tlockney has joined #ocaml
Qrntz has joined #ocaml
_toordog has joined #ocaml
TaXules_ has joined #ocaml
Leonidas has joined #ocaml
k4nar_ has joined #ocaml
mdenes has joined #ocaml
brendan has joined #ocaml
aggelos has joined #ocaml
mathieui has joined #ocaml
inr has joined #ocaml
diginux__ has joined #ocaml
ericbmerritt has joined #ocaml
tristan_1 has joined #ocaml
companion_cube has joined #ocaml
whitequark has joined #ocaml
Drup has joined #ocaml
emias has joined #ocaml
xian has joined #ocaml
ia0 has joined #ocaml
seliopou has joined #ocaml
dinosaure has joined #ocaml
Cypi has joined #ocaml
kerneis has joined #ocaml
smiler has joined #ocaml
Thooms has joined #ocaml
teh_rasterer is now known as Sfiv
milosn has quit [Read error: No route to host]
milosn has joined #ocaml
kyrylo has joined #ocaml
ulfdoz has quit [Ping timeout: 272 seconds]
malo has joined #ocaml
mhi^ has quit [Quit: Lost terminal]
ulfdoz has joined #ocaml
mhi^ has joined #ocaml
arjunguha has joined #ocaml
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
darkf has quit [Quit: Leaving]
pminten has quit [Quit: Leaving]
arjunguha has joined #ocaml
nikki93 has quit [Remote host closed the connection]
adr has joined #ocaml
watermind has joined #ocaml
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hyperboreean has quit [Ping timeout: 252 seconds]
arjunguha has joined #ocaml
zpe has joined #ocaml
watermind has quit [Quit: Konversation terminated!]
watermind has joined #ocaml
zpe has quit [Ping timeout: 245 seconds]
rand000 has quit [Ping timeout: 260 seconds]
dant3 has quit [Remote host closed the connection]
nikki93 has joined #ocaml
rand000 has joined #ocaml
rand000 has quit [Client Quit]
mort___ has joined #ocaml
thomasga has quit [Quit: Leaving.]
jave has quit [Ping timeout: 248 seconds]
jave has joined #ocaml
adr has quit [Quit: Quitte]
oriba has joined #ocaml
ygrek has quit [Ping timeout: 265 seconds]
zpe has joined #ocaml
zpe has quit [Ping timeout: 272 seconds]
dant3 has joined #ocaml
kyrylo has quit [Quit: Hi, Rob!]
dant3 has quit [Ping timeout: 252 seconds]
<Sfiv> pippijn, so what exactly is the reason that OCaml and ML and Haskell can have encapsulated seperately compiled modules but C and C++ can't hav eit?
<def-lkb> Sfiv: aren't translation unit some kind of encapsulated separately compiled modules for C/C++ ?
<pippijn> Sfiv: am I the person to ask this?
<pippijn> Sfiv: C and C++ can have it, and C++ is probably getting it at some point
<Sfiv> pippijn, you seem smart enough, I ask this Sfiv but he's clearly retarded
<pippijn> there is a proposal
<gasche> OCaml/ML were well-designed from a modularity point of view
ollehar has joined #ocaml
<gasche> Haskell, not so well, but it's getting better
<Sfiv> pippijn, then why doesn't it have it? as far as I know the major problem with C and C++ is having to recompile half the universe every time
<gasche> on the contrary, C's model of software composition is "including text files inside text files"
<Sfiv> gasche, well I mean, is there a theoretical limitation to the runtime model that stops it from happening
talzeus__ has quit [Read error: Connection reset by peer]
<Sfiv> Yeah, I know, so I was wondering if that had some theoretical reason to enable the runtime model
<pippijn> no
<pippijn> well, a little bit
<Sfiv> Then why on earth don't they have it already then?
<pippijn> templates make it kind of impossible
<pippijn> and inline functions make it hard
<Sfiv> Surely it can't be Ÿeh, we didn't think of it or we didn't find it important", especially with C++ which likes to basically add all the things anyone would find remotely useful to the point of nothing working any more.
<Sfiv> Well, OCaml can inline functions across seperately compiled modules right?
<pippijn> yes
<Sfiv> Haskell can too I believe
<Sfiv> So what stops C++?
<pippijn> C++ can also do it now
<def-lkb> (pfff)
<pippijn> with LTO
<Sfiv> Why couldn't it first do it, what's the theoretical limitation?
<pippijn> there is no theoretical one
<pippijn> as far as I know
<Sfiv> Then why didn't the C++ standard include it? Is it just a case of "We didn't think it was important"?
<Sfiv> And if the standard didn't then surely implementations would have since it's just very useful?
<pippijn> it's language evolution
<Sfiv> Yeah but modules have been around since like almost half a century and anyone would say they are indespensible to software development
<Sfiv> surely C10 would've included it if they could?
<pippijn> 1) not very important
<pippijn> 2) too much breakage
<pippijn> if you write code with modules, you need a compiler that supports it
<pippijn> no code will be written until ~all compilers support it
<pippijn> and compilers are not going to implement it with no code existing that uses it
<Sfiv> Well, C99 added VLA's.
<Sfiv> And C++'s standard adds things far more convoluted than variable length arrays all the time
<Sfiv> than modules*
<pippijn> Sfiv: and barely any C code uses it
<pippijn> unless they explicitly target gcc (and recently clang)
<Sfiv> Which is my point, they still added it to the standard
<pippijn> C++ is actually evolving
<Kakadu> Can I replace `ocamlmklib` invocation by `ar` in ocamlbuild?
dant3 has joined #ocaml
talzeus_ has joined #ocaml
<Kakadu> But If I can link .o into native code without .clib file it can probably solve my problem too
<pippijn> Sfiv: C++ added valarray to the standard, nobody uses it, they learnt from this
<pippijn> Sfiv: so now everybody is conservative in adding new features
<pippijn> Sfiv: export template was a mistake, too
_5kg has quit [K-Lined]
<Sfiv> So why didn't they add modules before VLA's?
<Sfiv> Seems more useful than VLA's to me.
<Sfiv> C++ doesn't need VLA's anyway, std::vector does the same
<pippijn> C++ doesn't have VLAs, as far as I know
<pippijn> did they add it?
<Sfiv> You just said they did
<Sfiv> Maybe you meant C there
<pippijn> std::valarray != VLA
<Sfiv> Ohh
<Sfiv> I thought valarray was just another term for variable length array
<pippijn> makes sense :)
<pippijn> but no
ygrek has joined #ocaml
pminten has joined #ocaml
tane has joined #ocaml
<Sfiv> pippijn, they are basically telling me at C that it doesn't have modules because that would make C hard to implement while C should be implementable as easily as possible
<Sfiv> Which still doesn't explain C++ though
<pippijn> and C++ will probably get them
<pippijn> there are just priorities
<pippijn> and modules are not a priority
<Sfiv> How can modules not be a prorioty.
<Sfiv> I am verily confused
<pippijn> maybe you find them very important
<pippijn> but C++ coders have been fine with the simple "header file is my module" approach
<pippijn> well, header+impl file
<Sfiv> Well
<Sfiv> if you find them important as well, then that is enough for me
<Sfiv> Only your opinion and that of my dog matters.
<pippijn> I would like to have modules, but they are not terribly important to me
<pippijn> modules in the ocaml way are impossible due to circular dependencies that exist in virtually all C++ codebases
thomasga has joined #ocaml
<Sfiv> Well, there's a good theoretical reason.
mort___ has quit [Read error: Connection reset by peer]
<pippijn> but java has modules (kind of), and it solves the problem by compiling dependent things at the same time
mort___ has joined #ocaml
tristan_1 has quit [Ping timeout: 252 seconds]
thomasga has quit [Client Quit]
tristan__ has joined #ocaml
<Sfiv> pippijn, I was kind of hoping you would side with me though.
zpe has joined #ocaml
dant3 has quit [Remote host closed the connection]
watermind has quit [Quit: Konversation terminated!]
watermind has joined #ocaml
zpe has quit [Ping timeout: 272 seconds]
q66 has joined #ocaml
rwmjones has quit [Ping timeout: 252 seconds]
watermind has quit [Read error: Connection reset by peer]
watermind has joined #ocaml
pminten has quit [Remote host closed the connection]
thomasga has joined #ocaml
sheijk has joined #ocaml
avsm has joined #ocaml
rwmjones has joined #ocaml
ygrek has quit [Ping timeout: 248 seconds]
shinnya has quit [Ping timeout: 252 seconds]
<pippijn> companion_cube: were you wondering why there are fewer static analysers for ocaml than for C?
<pippijn> companion_cube: I just thought of a technical reason, but I don't know whether it's good or not
<gasche> ((1) less users needing it (2) a lot of static analyzers for C would be *very happy* to capture as many failures as OCaml's type system)
<pippijn> also, no sound static analysers I am aware of support function pointers
thomasga has quit [Quit: Leaving.]
<bernardofpc> pippijn: is there an equivalent mkodule proposal from the GCC side ?
<bernardofpc> -k
<oriba> compile *.c to *.o and you have "modules" in the sense of OCaml's compilation units also being modules
<oriba> you can compile every *.c seperately into *.o
<pippijn> bernardofpc: not that I'm aware of
<oriba> no need to compile anything
<oriba> no need to compile anything again
thomasga has joined #ocaml
<pippijn> oriba: .h files are parsed and typed each time they are included
zpe has joined #ocaml
<pippijn> oriba: the C/C++ modules proposal just serialises them like a .cmi file
<oriba> pippijn, use #ifdef and #def to include *.h only once
rwmjones has quit [Read error: Operation timed out]
<oriba> Objective-C allows this even easier
<pippijn> oriba: yes, for each translation unit that includes the .h, they are compiled at least once
<oriba> if you need a new module in C, then create a new *.c file
zpe has quit [Ping timeout: 265 seconds]
<oriba> ...or switch to OCaml :-)
mort___ has quit [Quit: Leaving.]
dant3 has joined #ocaml
<companion_cube> o/
<companion_cube> pippijn: there is a proposal for modules in C++; I think
<pippijn> we've been over this :)
<pippijn> about 1-2 hours ago
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
<companion_cube> yes, but I just arrived
<oriba> (... seems to be #C++ here...)
<pippijn> just telling you
<pippijn> so you don't need to waste more time on it
<pippijn> because I much prefer discussing ocaml :)
<companion_cube> heh
<companion_cube> so, how's paris ? :)
<pippijn> grim
<pippijn> I'm sitting in the lab
<companion_cube> well, it's winter
<companion_cube> where's your lab?
<pippijn> I have no internet and nobody is going outside
<Kakadu> Is it possible to copy some files to _build and ignore them after that?
<pippijn> ENS
<Kakadu> Or should I just create empty rule which provides nothing?
<companion_cube> ah, it's not too far away
dant3 has quit [Ping timeout: 272 seconds]
jbrown has joined #ocaml
<pippijn> 20 minutes walking distance from my apartment
<companion_cube> very nice.
<companion_cube> ENS is in a student's neighborough
rwmjones has joined #ocaml
<pippijn> yes, I like this place a lot
<pippijn> where are you?
thomasga has quit [Quit: Leaving.]
<companion_cube> place d'italie, it's 15-20min away walking
<adrien> from ENS?
<pippijn> place d'italie is where the M7 goes?
<adrien> you need to download something
cesar_ has joined #ocaml
cesar_ is now known as Guest93583
<pippijn> ok, it's actually pretty nearby walking from ENS
tnguyen has joined #ocaml
<pippijn> closer than my apartment
<adrien> it looks like you're walking at > 8km/h ;-)
adr has joined #ocaml
<pippijn> adrien: not as fast as xavier rival
<pippijn> I have to jog next to him to keep up when he's at full speed
<adrien> :D
<adrien> well, at 10km/h and above, it's less work to run
<pippijn> I can keep up just walking, but not for 15 minutes
<pippijn> it's a lot of work, yes
tvn_ has joined #ocaml
tvn_ is now known as Guest83133
<companion_cube> adrien: hmmm, it's this far? my bad then
<companion_cube> the colors are... weird
<pippijn> I use google maps for my navigation here
<pippijn> it works pretty well
kyrylo has joined #ocaml
<adrien> pippijn: try osm.org :)
<adrien> well, it doesn't include paths but the maps are _way_ better
<pippijn> wow
<pippijn> yeah, they are
<pippijn> it includes houses
<adrien> yup <3
<pippijn> but this is also nice: http://goo.gl/maps/w4wR0
<adrien> and now I need to decide which other website to use https://wiki.openstreetmap.org/wiki/Routing
<companion_cube> I'd be happy to find a good OSM client for android, btw
adr has quit [Quit: Quitte]
<adrien> I think I'm going to use http://open.mapquest.com/
<companion_cube> are extension points scheduled for integration into ocaml?
<companion_cube> it may be nice for serialization too
<pippijn> extension points?
<pippijn> oh, that..
<pippijn> ugly :\
<companion_cube> still looks better than camlp4
<companion_cube> but worse than ocaml-ty ^^
<adrien> :)
Guest83133 has quit [Quit: leaving]
tvn__ has joined #ocaml
tvn__ has quit [Client Quit]
<sheijk> companion_cube: yep, would have loved the implicit stuff to be part of ocaml. too bad it seems to be more or less dead
<companion_cube> :/
talzeus_ has quit [Read error: Connection reset by peer]
mort___ has joined #ocaml
tvnguyen2014 has joined #ocaml
<Drup> companion_cube: stop comparing everything to ocaml-ty :D
<companion_cube> i'm talking serialization again! :p
<Drup> companion_cube: extension point is already in the trunk, afaik
<companion_cube> hmmmm
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dant3 has joined #ocaml
dant3 has quit [Ping timeout: 252 seconds]
<pippijn> I would like to have runtime types
bernardofpc has quit [Remote host closed the connection]
thomasga has joined #ocaml
ontologiae has quit [Ping timeout: 272 seconds]
bernardofpc has joined #ocaml
thomasga has quit [Quit: Leaving.]
rand000 has joined #ocaml
<gasche> well, sheijk and companion_cube, integration of something like ocaml-ty is also up to you
<gasche> (simply mailing caml-list asking for directions and what can be done to help could... help)
dant3 has joined #ocaml
avsm has quit [Quit: Leaving.]
<companion_cube> gasche: I'm not familiar enough with the compiler's internal todeal with something like this :/
arjunguha has joined #ocaml
kyrylo has quit [Ping timeout: 245 seconds]
dant3 has quit [Ping timeout: 260 seconds]
<companion_cube> gasche: otoh i'm looking at making BatIO monadic ;)
arj has joined #ocaml
<sheijk> gasche: my impression from the mailing list discussions was that implicits died because they where not generally liked and not because of missing man-power, though
zpe has joined #ocaml
zpe has quit [Read error: Connection reset by peer]
zpe has joined #ocaml
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kyrylo has joined #ocaml
mort___ has left #ocaml []
kyrylo has quit [Ping timeout: 245 seconds]
kyrylo has joined #ocaml
arjunguha has joined #ocaml
nrlucaroni has joined #ocaml
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arjunguha has joined #ocaml
<companion_cube> sheijk: I think it's again a project that ran out of funding (even for 1 person) and thus didn't go through integration in trunk
oriba_ has joined #ocaml
oriba has quit [Ping timeout: 260 seconds]
Amanite has quit [Quit: Lost terminal]
dant3 has joined #ocaml
nikki93 has quit [Remote host closed the connection]
nikki93 has joined #ocaml
dant3 has quit [Ping timeout: 245 seconds]
zxqdms has quit [Quit: leaving]
pango has quit [Quit: brb]
tani has joined #ocaml
tane is now known as Guest91313
Guest91313 has quit [Killed (wolfe.freenode.net (Nickname regained by services))]
tani is now known as tane
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
pango has joined #ocaml
nikki93 has quit [Remote host closed the connection]
tane has quit [Remote host closed the connection]
tane has joined #ocaml
zpe has quit [Ping timeout: 272 seconds]
maurer has quit [Remote host closed the connection]
tane has quit [Quit: Verlassend]
zpe has joined #ocaml
dant3 has joined #ocaml
mhi^ has quit [Quit: Lost terminal]
bjorkintosh has quit [Ping timeout: 240 seconds]
dant3 has quit [Ping timeout: 252 seconds]
lostcuaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oriba_ has quit [Quit: oriba_]
arj has quit [Quit: Leaving.]
<companion_cube> just to check: the type system could'nt allow a function f: (module Foo) -> Foo.t -> Foo.t ?
<companion_cube> where Foo has a signature with type t
<companion_cube> (context: Foo would be a monad instance)
<jpdeplaix> AFAIK, no
<jpdeplaix> you have to use a functor
<companion_cube> that's what I thought
<companion_cube> because otherwise it's dependent typing
<axiles> you can have f: (module Foo with type t = 'a) -> 'a -> 'a
fayden has quit [Quit: Bye]
<ben_m> Is there a function composition function/operator in OCaml(/Core)?
Guest93583 has quit [Remote host closed the connection]
fayden has joined #ocaml
<companion_cube> there is in batteries, ben_m
<companion_cube> axiles: yes, however here the type is parametrized, so that would require rank-2 types :/
<ben_m> companion_cube: That's instead of Core, isn't it?
<companion_cube> ben_m: hmmmm, it's rare to use both
<companion_cube> you can write one if you need it
<ben_m> Well yeah :)
<companion_cube> also, the |> operator may be useful in many cases where composition is
<ben_m> Ooh batteries has tons of convenient operators
nikki93 has joined #ocaml
fayden has quit [Client Quit]
fayden has joined #ocaml
Kakadu has quit []
malo has quit [Quit: Leaving]
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rks`> ben_m: Fn.compose (in core)
cesar_ has joined #ocaml
cesar_ is now known as Guest79594
<ben_m> Ah, thanks.
axiles has quit [Remote host closed the connection]
Guest79594 has quit [Remote host closed the connection]
ontologiae has joined #ocaml
arjunguha has joined #ocaml
<nrlucaroni> I've created and installed a package via ocamlfind and when linking against the package via ocamlbuild -use-ocamlfind the compilation options that are expanded include both libphyloc.a and -lphyloc. Why would that be the case?
rand000 has quit [Quit: leaving]
<nrlucaroni> (it fails since libphyloc.a is expected to be local, once removed the compilation is successful)
mhi^ has joined #ocaml
dant3 has joined #ocaml
WraithM has quit [Quit: Lost terminal]
sillyotter has joined #ocaml
dant3 has quit [Ping timeout: 265 seconds]
sillyotter has quit [Quit: Leaving]
balouis has left #ocaml []
kyrylo has quit [Quit: Hi, Rob!]
tnguyen has quit [Quit: tnguyen]
vpm has quit [Remote host closed the connection]
nikki93 has quit [Remote host closed the connection]
vpm has joined #ocaml
nikki93 has joined #ocaml
kyrylo has joined #ocaml
mhi^ has quit [Quit: Lost terminal]
<thorsten`> how can i enforce a function to have a specific type? (in haskell i do for example: f :: a -> b -> a \n f x y = x)
<Drup> "let f (x : a) (y : b) : a = x" or "let f : a -> b -> a = fun x y -> x"
<Drup> (or a mix of both)
<companion_cube> or write a .mli file
<Drup> companion_cube: not exactly the same
<companion_cube> no, but it works
<thorsten`> i don't want the it to be "global"
<companion_cube> ok then, like Drup said
<def-lkb> Drup: you forget (type a) (type b) at the beginning of the signature
<def-lkb> forgot*
<Drup> def-lkb: I forgot the ' before the type, actually
<Drup> (you can do it with type abstraction, but I wouldn't advice it for general purpose)
<thorsten`> thanks, it seems to work
<def-lkb> Drup: yep, but in this case the meaning is different
avsm has joined #ocaml
jao has quit [Ping timeout: 248 seconds]
dant3 has joined #ocaml
WraithM has joined #ocaml
dant3 has quit [Ping timeout: 246 seconds]
darkf has joined #ocaml
mreca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ben_m> Is there a way to get the type of an operator in utop? I can just write `List.map;;` and that works, but not so for operators.
<whitequark> (+);;
<ben_m> I did that
<ben_m> utop # (|>);;
<ben_m> Error: Failure: "|> must be applied to two arguments"
<companion_cube> fun x y -> x|>y;;
<whitequark> fascinating, it actually works for (+), but not for (|>)
<whitequark> I wonder why!
<rks`> ben_m: « #typeof "your operator";; »
<rks`> # #typeof "|>";;
<rks`> external Pervasives.|> : 'a -> ('a -> 'b) -> 'b = "%revapply"
<companion_cube> hmmm, neat
<rks`> (and there is completion too)
<ben_m> rks`: Ah that's cool, thanks.
<rks`> (that's here since v1.8 I believe)
nikki93 has quit [Remote host closed the connection]
<bernardofpc> ocaml toplevel gives ( |> ) ;; directly
<bernardofpc> oh well, utop-1.10 also
<adrien> OCaml version 4.02.0+dev1-2013-09-04
<adrien> # (|>);;
<adrien> - : 'a -> ('a -> 'b) -> 'b = <fun>
mort___1 has joined #ocaml
kyrylo has quit [Quit: Hi, Rob!]
<ben_m> Maybe it's because I have a bunch of directives in .ocamlinit that Real World OCaml told me to put there
nikki93 has joined #ocaml
<rks`> N.B. utop's #typeof works on modules (shows their sig) and types (shows their definition, if they're not abstract) too
<rks`> ben_m: don't think so
lostcuaz has joined #ocaml
<ben_m> I should probably keep reading that book anyways instead of trying to force Haskell habits onto OCaml
Thooms has quit [Ping timeout: 245 seconds]
ulfdoz has quit [Ping timeout: 245 seconds]
nikki93 has quit [Remote host closed the connection]
<def-lkb> rks`: actually, if I enter (|>) after typing prolog suggested by RWO in utop
<def-lkb> the process terminates with message "Fatal error: exception Loc.Exc_located(_, _) Raised at file "map.ml", line 117, characters 16-25 "
<def-lkb> So, yes, core.syntax must introduce some syntax extension that tries to rewrite |>
<rks`> def-lkb: but that's not the error ben_m has.
<rks`> I have the same as his, and I don't have "the core prolog"
<ben_m> rks`: Taking out core.syntax does fix it though
<rks`> Oh.
<def-lkb> rks`: with utop 1.8 I get the failure, with utop 1.10 I get ben_m's message
<rks`> Ok
<def-lkb> Without core.syntax, I get correct answer
<ben_m> Doesn't seem too important if you have #typeof anyways
<def-lkb> Yeps
thomasga has joined #ocaml
<ben_m> Good night!
ben_m has quit [Quit: WeeChat 0.4.2]
whitequark has left #ocaml []
<nrlucaroni> How can I control how library packages (cmxa files) passed to ocamlopt expand their arguments to gcc or other tools?
mort___1 has quit [Quit: Leaving.]
dant3 has joined #ocaml
<companion_cube> oh dear
<companion_cube> no idea
<adrien> nrlucaroni: the real question is why do you want to do that?
<adrien> and control = check or = modify?
<nrlucaroni> heh. yeah. a package i built w/ c code is expanding to include a phyloc.a file and the -lphyloc option. the .a causes the compilation to fail.
<adrien> hmmm
<adrien> if the C stubs are in phyloc.a then the package is borked
<adrien> the files should be named phyloc_whatever.* (typically: phyloc_stubs)
<adrien> the C part of stubs goes into .a file usually so you should expect one
<adrien> (actually I'm not sure the package is borked but it looks suspicious)
* adrien -> bed
<nrlucaroni> heh, people just call them *_stubs in their myocamlbuild.ml file, i don't believe it's necessary.
<nrlucaroni> when I compiled by hand and removed the .a file, it worked and executed properly, so i don't think it's borked. but i do believe I have compiled it incorrectly.
dant3 has quit [Ping timeout: 252 seconds]
zRecursive has joined #ocaml
stomp has quit [Ping timeout: 245 seconds]
mcclurmc has joined #ocaml
stomp has joined #ocaml
<adrien> the one thing to avoid is a .ml and a .c file with the same base name
<adrien> that will definitely cause issues
<nrlucaroni> yeah, I did discover that confusing case. I think I'm beyond that now though.
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
zpe has quit [Ping timeout: 260 seconds]
lostcuaz has quit [Quit: Textual IRC Client: www.textualapp.com]
<nrlucaroni> it seemed to be because the linking line for the package contains libphyloc.a.
<nrlucaroni> the line i didn't need was the link/ocaml/use_ .. 'libcryptokit.a' line in the ocamlbuild example.
<nrlucaroni> I guess i don't need it? I'm a little confused.
avsm has quit [Quit: Leaving.]
thomasga has quit [Quit: Leaving.]
madroach has quit [Ping timeout: 252 seconds]
madroach has joined #ocaml
zpe has joined #ocaml
kyrylo has joined #ocaml
lostcuaz has joined #ocaml
NoNNaN has quit [Remote host closed the connection]
nikki93 has joined #ocaml
zpe has quit [Ping timeout: 245 seconds]
dant3 has joined #ocaml