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/
zpe has quit [Ping timeout: 264 seconds]
malvarez has quit [Read error: Connection reset by peer]
ollehar has quit [Ping timeout: 260 seconds]
sheijk_ has joined #ocaml
csakatoku has joined #ocaml
sheijk has quit [Ping timeout: 245 seconds]
mcclurmc has joined #ocaml
Xenasis has joined #ocaml
Xenasis has quit [Remote host closed the connection]
yacks has quit [Ping timeout: 250 seconds]
pyon has joined #ocaml
nikki93 has joined #ocaml
mcclurmc has quit [Ping timeout: 248 seconds]
nikki93 has quit [Remote host closed the connection]
oriba has quit [Quit: oriba]
nikki93_ has joined #ocaml
nikki93_ has quit [Remote host closed the connection]
nikki93 has joined #ocaml
nikki93 has quit [Ping timeout: 246 seconds]
palomer has quit [Ping timeout: 252 seconds]
zpe has joined #ocaml
zpe has quit [Ping timeout: 250 seconds]
mcclurmc has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ocaml
toordog has quit [Changing host]
toordog has joined #ocaml
wolfnn has quit [Ping timeout: 250 seconds]
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
ygrek has joined #ocaml
michael_lee has joined #ocaml
manizzle has quit [Ping timeout: 245 seconds]
pyon has quit [Quit: restart]
struktured_ has joined #ocaml
Simn has quit [Quit: Leaving]
avsm has quit [Quit: Leaving.]
palomer has joined #ocaml
yacks has joined #ocaml
pyon has joined #ocaml
zpe has joined #ocaml
sheijk_ has quit [Ping timeout: 250 seconds]
zpe has quit [Ping timeout: 250 seconds]
nze has quit [Ping timeout: 240 seconds]
sheijk has joined #ocaml
palomer has quit [Ping timeout: 246 seconds]
sheijk has quit [Ping timeout: 240 seconds]
milosn has quit [Ping timeout: 245 seconds]
yacks has quit [Quit: Leaving]
iorivur has quit [Ping timeout: 264 seconds]
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
dant3 has quit [Remote host closed the connection]
mcclurmc has quit [Remote host closed the connection]
csakatoku has quit [Ping timeout: 245 seconds]
zpe has joined #ocaml
caligula has quit [Quit: Konversation terminated!]
zpe has quit [Ping timeout: 250 seconds]
caligula has joined #ocaml
strobegen has joined #ocaml
manizzle has joined #ocaml
manizzle has quit [Remote host closed the connection]
manizzle has joined #ocaml
mcclurmc has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
csakatoku has joined #ocaml
struktured_ has quit [Ping timeout: 240 seconds]
jao has quit [Ping timeout: 250 seconds]
ollehar has joined #ocaml
struktured has joined #ocaml
sheijk has joined #ocaml
sheijk has quit [Ping timeout: 264 seconds]
mcclurmc has joined #ocaml
zpe has joined #ocaml
zpe has quit [Ping timeout: 246 seconds]
mcclurmc has quit [Ping timeout: 272 seconds]
ygrek has quit [Ping timeout: 245 seconds]
dant3 has joined #ocaml
sheijk has joined #ocaml
sheijk has quit [Ping timeout: 240 seconds]
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
csakatoku has quit [Read error: No route to host]
csakatoku has joined #ocaml
ttamttam has joined #ocaml
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
csakatoku has quit [Read error: No route to host]
csakatoku has joined #ocaml
ttamttam has quit [Quit: ttamttam]
gereedy has quit [Ping timeout: 240 seconds]
sheijk has joined #ocaml
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
tizoc has quit [Ping timeout: 246 seconds]
gereedy has joined #ocaml
sheijk has quit [Ping timeout: 248 seconds]
csakatoku has quit [Ping timeout: 265 seconds]
tizoc has joined #ocaml
pyon has quit [Remote host closed the connection]
csakatoku has joined #ocaml
zpe has joined #ocaml
mcclurmc has joined #ocaml
sheijk has joined #ocaml
csakatok_ has joined #ocaml
zpe has quit [Ping timeout: 265 seconds]
mcclurmc has quit [Ping timeout: 240 seconds]
csakatoku has quit [Ping timeout: 250 seconds]
sheijk has quit [Ping timeout: 246 seconds]
ygrek has joined #ocaml
wwilly has joined #ocaml
csakatok_ has quit [Remote host closed the connection]
csakatoku has joined #ocaml
Axord has joined #ocaml
csakatoku has quit [Ping timeout: 265 seconds]
csakatoku has joined #ocaml
zpe has joined #ocaml
sheijk has joined #ocaml
mcclurmc has joined #ocaml
sheijk has quit [Read error: Operation timed out]
zpe has quit [Ping timeout: 245 seconds]
mcclurmc has quit [Ping timeout: 265 seconds]
dant3 has quit [Remote host closed the connection]
dant3 has joined #ocaml
dant3_ has joined #ocaml
dant3 has quit [Read error: Connection reset by peer]
cago has joined #ocaml
djcoin has joined #ocaml
dant3_ has quit [Remote host closed the connection]
talzeus has joined #ocaml
zpe has joined #ocaml
sheijk has joined #ocaml
mcclurmc has joined #ocaml
zpe has quit [Ping timeout: 272 seconds]
ollehar has quit [Read error: Connection reset by peer]
sheijk has quit [Ping timeout: 265 seconds]
mcclurmc has quit [Ping timeout: 252 seconds]
yacks has joined #ocaml
Kakadu has joined #ocaml
BoR0 has joined #ocaml
mchqwerty has joined #ocaml
lasts has quit [Ping timeout: 252 seconds]
nikki93 has joined #ocaml
sheijk has joined #ocaml
nikki93 has quit [Read error: Connection reset by peer]
sheijk has quit [Ping timeout: 248 seconds]
mchqwerty has quit [Remote host closed the connection]
dant3 has joined #ocaml
mchqwerty has joined #ocaml
dant3 has quit [Remote host closed the connection]
dant3 has joined #ocaml
pminten has joined #ocaml
BoR0 has left #ocaml []
zpe has joined #ocaml
nikki93 has joined #ocaml
sheijk has joined #ocaml
nikki93_ has joined #ocaml
zpe has quit [Ping timeout: 246 seconds]
nikki93 has quit [Ping timeout: 252 seconds]
sheijk has quit [Ping timeout: 240 seconds]
ggole has joined #ocaml
nikki93_ has quit [Read error: Connection reset by peer]
nikki93 has joined #ocaml
nikki93 has quit [Ping timeout: 272 seconds]
nikki93 has joined #ocaml
demonimin has joined #ocaml
nikki93 has quit [Ping timeout: 264 seconds]
nikki93 has joined #ocaml
Yoric has joined #ocaml
Simn has joined #ocaml
kyrylo has joined #ocaml
jonludlam has joined #ocaml
michael_lee has quit [Ping timeout: 252 seconds]
michael_lee has joined #ocaml
dant3 has quit [Remote host closed the connection]
dant3 has joined #ocaml
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
sheijk has joined #ocaml
ollehar has joined #ocaml
csakatoku has quit [Ping timeout: 264 seconds]
sheijk has quit [Ping timeout: 246 seconds]
groovy2shoes has joined #ocaml
dant3 has quit [Remote host closed the connection]
zpe has joined #ocaml
zpe has quit [Ping timeout: 245 seconds]
sheijk has joined #ocaml
sheijk has quit [Ping timeout: 252 seconds]
yacks has quit [Quit: Leaving]
dant3 has joined #ocaml
nikki93 has quit [Remote host closed the connection]
nikki93 has joined #ocaml
avsm has joined #ocaml
nikki93 has quit [Ping timeout: 240 seconds]
talzeus has quit [Remote host closed the connection]
avsm has quit [Ping timeout: 264 seconds]
pango has quit [Read error: Operation timed out]
sheijk has joined #ocaml
ollehar has quit [Read error: Connection reset by peer]
yastero has quit [Ping timeout: 272 seconds]
sheijk has quit [Ping timeout: 252 seconds]
ohama has quit [Ping timeout: 272 seconds]
yastero has joined #ocaml
CissWit has quit [Ping timeout: 272 seconds]
ohama has joined #ocaml
lasts has joined #ocaml
ttamttam has joined #ocaml
dant3 has quit [Remote host closed the connection]
groovy2shoes has quit [Quit: groovy2shoes]
groovy2shoes has joined #ocaml
CissWit has joined #ocaml
groovy2shoes has quit [Quit: groovy2shoes]
dant3 has joined #ocaml
darkf has quit [Quit: Leaving]
avsm has joined #ocaml
ollehar has joined #ocaml
ygrek has quit [Ping timeout: 252 seconds]
avsm has quit [Ping timeout: 248 seconds]
nikki93 has joined #ocaml
talzeus has joined #ocaml
talzeus_ has joined #ocaml
avsm has joined #ocaml
talzeus has quit [Ping timeout: 250 seconds]
wwilly has quit [Ping timeout: 250 seconds]
groovy2shoes has joined #ocaml
pminten has quit [Quit: Leaving]
rand000 has joined #ocaml
nikki93 has quit [Remote host closed the connection]
nikki93 has joined #ocaml
nikki93 has quit [Read error: Connection reset by peer]
ygrek has joined #ocaml
groovy2shoes has quit [Quit: groovy2shoes]
csakatoku has joined #ocaml
dant3 has quit [Remote host closed the connection]
dant3 has joined #ocaml
travisbrady has joined #ocaml
dant3 has quit [Ping timeout: 240 seconds]
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
dant3 has joined #ocaml
csakatoku has quit [Ping timeout: 246 seconds]
PM has quit [Ping timeout: 252 seconds]
PM has joined #ocaml
thomasga has joined #ocaml
nikki93 has joined #ocaml
nikki93_ has joined #ocaml
nikki93 has quit [Ping timeout: 272 seconds]
wwilly has joined #ocaml
zpe has joined #ocaml
csakatoku has joined #ocaml
nikki93_ has quit [Ping timeout: 250 seconds]
zpe has quit [Ping timeout: 252 seconds]
mchqwerty has quit [Quit: Odcházím]
suicidemaker has joined #ocaml
suicidemaker has quit [Read error: Connection reset by peer]
suicidemaker has joined #ocaml
suicidemaker has quit [Max SendQ exceeded]
sheijk has joined #ocaml
suicidemaker has joined #ocaml
Yoric has quit [Quit: Instantbird 1.5a1pre -- http://www.instantbird.com]
Arsenik has joined #ocaml
dant3 has quit [Remote host closed the connection]
<gasche_> Drup: you can't go wrong on type safety
<Drup> But you can go very painfully.
dant3 has joined #ocaml
mcclurmc has joined #ocaml
<gasche_> Drup: that is progress: painful, but eventually of value
<Drup> my point is that, sometime, it's just to painful for the gain =)
<companion_cube> sometimes, also, you really want to bypass the type system :)
<ousado> example?
<gasche_> I agree on Drup's point
palomer has joined #ocaml
rossberg has quit [Remote host closed the connection]
<companion_cube> well, you find some unsafe casts in many ocaml files
<companion_cube> including the stdlib and batteries
<ggole> Some of that is just performance hacking, though
csakatoku has quit [Remote host closed the connection]
<ggole> The type system is able to represent the structure of the computation ok, but not using the dynamic structure the programmer desires (indirections, etc)
csakatoku has joined #ocaml
<ggole> I don't think that's a problem with type systems
<companion_cube> ggole: well yes, performance hacking can be a reason
<companion_cube> sometimes also, you want to use a Univ type
<companion_cube> just because it's convenient
<companion_cube> (it stays well typed, but it's quite a hack)
<adrien> that happens mostly because you're building wheels :)
<Drup> no, that's only you, companion_cube :D
<companion_cube> I didn't write the original Univ blog post, so no :p
<companion_cube> even Mixtbl was initiated by someone else
<companion_cube> stop blaming me :p
<companion_cube> http://roscidus.com/blog/blog/2013/12/20/polymorphism-for-beginners/ I like this guy's blog posts
<Drup> "I know several OCaml experts keep an eye on this blog, so hopefully any inaccuracies will be corrected in the comments." =')
Simn has quit [Ping timeout: 252 seconds]
csakatoku has quit [Ping timeout: 252 seconds]
Xenasis has joined #ocaml
TDJACR has quit [Ping timeout: 245 seconds]
<ousado> In my experience it's a matter of time and effort. Stuff that's 'too painful' often can be done right (and thus made painless for the future) by employing metaprogramming.
wolfnn has joined #ocaml
ocp has joined #ocaml
<adrien> oh
<adrien> we only need to wait for ocaml-ty :P
<ousado> or use Fan
nikki93 has joined #ocaml
Xenasis has quit [Read error: Connection reset by peer]
<Drup> doesn't solve the same issue
<ggole> What's ocaml-ty? Compile-time functions over types?
<ousado> I'm not sure which isuue in programming couldn't be solved by writing code
<ousado> *issue
TDJACR has joined #ocaml
<adrien> rtti
mreca has joined #ocaml
<ggole> Hmm :/
<Drup> ousado: try to inspect ocaml type at runtime with Fan, I'm looking at you while you try =)
<adrien> Drup: could solve some of the things mentioned by companion_cube
<ggole> I guess that could be useful
zpe has joined #ocaml
<ousado> Drup: One doesn't have to
shinnya has joined #ocaml
nikki93 has quit [Ping timeout: 272 seconds]
<ousado> maybe if you're writing educational tools and want to allow inspecting arbitrary state at runtime, runtime type information is useful
zpe has quit [Ping timeout: 246 seconds]
struktured has quit [Ping timeout: 265 seconds]
WraithM_ has joined #ocaml
zpe has joined #ocaml
Simn has joined #ocaml
sgnb has quit [Read error: Connection reset by peer]
sgnb has joined #ocaml
Arsenik has quit [Ping timeout: 245 seconds]
dant3 has quit [Remote host closed the connection]
ollehar has quit [Ping timeout: 245 seconds]
suicidemaker has quit [Quit: leaving]
milosn has joined #ocaml
maufred has quit [Remote host closed the connection]
nikki93 has joined #ocaml
djcoin has quit [Quit: WeeChat 0.4.1]
travisbrady has quit [Quit: travisbrady]
nikki93 has quit [Ping timeout: 246 seconds]
wwilly has quit [Ping timeout: 246 seconds]
milosn has quit [Ping timeout: 240 seconds]
milosn has joined #ocaml
thomasga has quit [Quit: Leaving.]
cago has left #ocaml []
pango has joined #ocaml
boogie has joined #ocaml
sheijk has quit [Ping timeout: 250 seconds]
ehamberg has left #ocaml []
struktured_ has joined #ocaml
Kakadu has quit [Quit: Page closed]
travisbrady has joined #ocaml
struktured__ has joined #ocaml
ocp has quit [Ping timeout: 240 seconds]
struktured_ has quit [Ping timeout: 245 seconds]
tane has joined #ocaml
osa1 has joined #ocaml
travisbrady has quit [Ping timeout: 240 seconds]
boogie has quit [Remote host closed the connection]
boogie has joined #ocaml
boogie has quit [Ping timeout: 246 seconds]
dant3 has joined #ocaml
manizzle has quit [Ping timeout: 265 seconds]
sheijk has joined #ocaml
dant3 has quit [Ping timeout: 245 seconds]
jonludlam has quit [Remote host closed the connection]
dant3 has joined #ocaml
rand000 has quit [Quit: leaving]
travisbrady has joined #ocaml
ski has joined #ocaml
struktured has joined #ocaml
struktured__ has quit [Ping timeout: 265 seconds]
dant3 has quit [Remote host closed the connection]
dant3 has joined #ocaml
<mcclurmc> i'm trying to 'opam install syslog', which is downloading from http://godi-backup2.camlcity.org/godi-backup/syslog-1.4.tar.gz
<mcclurmc> it looks like godi-backup2 is down: http://www.downforeveryoneorjustme.com/godi-backup2.camlcity.org/
<mcclurmc> does anyone know where i can get the source to the syslog package?
shinnya has quit [Ping timeout: 248 seconds]
<mcclurmc> so the closest I could find to the upstream source is here: git://git.debian.org/git/pkg-ocaml-maint/packages/syslog-ocaml.git
<mcclurmc> good old debian :)
Kakadu has joined #ocaml
<avsm> mcclurmc: cos its christmas.. https://github.com/ocaml/opam-repository/pull/1488
<mcclurmc> avsm: :)
<mcclurmc> i thought about doing that, but wasn't sure if that was a stable-enough source
<mcclurmc> it's a bit concerning that i can't find the "official" upstream
struktured has quit [Ping timeout: 240 seconds]
<mcclurmc> i think debian alioth might be it now...
<avsm> probably better just to write some modern bindings
<avsm> lwt_log does syslog
<mcclurmc> does core have anything?
<mcclurmc> yep, we need to start transitioning to core...
<Drup> "we" ? :p
ollehar has joined #ocaml
Axord has left #ocaml []
<avsm> join ussssssss Drup
<avsm> but
<Drup> Depends, I need precision about who is "us" :D
<avsm> i think he's referring to citrix
manizzle has joined #ocaml
thomasga has joined #ocaml
mreca has quit [Ping timeout: 240 seconds]
tane has quit [Quit: Verlassend]
<adrien> Drup: the borg
nikki93 has joined #ocaml
<Drup> The collective*
<Drup> ;)
mreca has joined #ocaml
michael_lee has quit [Ping timeout: 250 seconds]
nikki93 has quit [Ping timeout: 265 seconds]
ygrek has quit [Ping timeout: 240 seconds]
manizzle has quit [Remote host closed the connection]
ulfdoz has joined #ocaml
manizzle has joined #ocaml
yacks has joined #ocaml
yacks has quit [Max SendQ exceeded]
ocp has joined #ocaml
ocp has quit [Client Quit]
_5kg has quit [Ping timeout: 248 seconds]
_5kg has joined #ocaml
<Kakadu> any ideas how to do `make install` in tsdl?
<Kakadu> Also, is it only me who misspells it as `tsql`?
<adrien> :P
thomasga has quit [Quit: Leaving.]
<adrien> one of my worst typo is "gir" instead of "git"; from my sad gobject-introspection days probably ='(
thomasga has joined #ocaml
<smondet> Kakadu: there is a tool announced lately called opam-installer or something
thomasga has quit [Quit: Leaving.]
mcclurmc has quit [Remote host closed the connection]
thomasga has joined #ocaml
<Kakadu> smondet: many thanks
<Kakadu> Any ideas why opam-installer wants to install everything into /usr/local/lib?
<Kakadu> I want to put everything into ~/.opam/....
<smondet> there is seems to be a prefix option
<smondet> (line 195)
suicidemaker has joined #ocaml
thomasga has quit [Quit: Leaving.]
<Kakadu> ah
ggole has quit []
<Kakadu> I was reading `opam-installer --help` instead `opam-installer install --help`
<Kakadu> Same mistake again
mcclurmc has joined #ocaml
_5kg has quit [Ping timeout: 246 seconds]
sheijk has quit [Ping timeout: 240 seconds]
_5kg has joined #ocaml
tane has joined #ocaml
Arsenik has joined #ocaml
thomasga has joined #ocaml
beginner has joined #ocaml
<beginner> i installed opam in my system, and tried to compile some project, but get this error .opam/4.00.1/bin/ocamlbuild: not found
<beginner> but ocamlbuild is there
<Kakadu> eval `opam config env`
<beginner> i tried that, but no use
<adrien> that's the exact error message you get?
<Kakadu> beginner: Can you re-run configure in your project?
<beginner> ocaml setup.ml -build
<beginner> sh: 1: /home/florian/.opam/4.00.1/bin/ocamlbuild: not found
<beginner> E: Failure("Command ''/home/florian/.opam/4.00.1/bin/ocamlbuild' src/libczmq_stubs.a src/dllczmq_stubs.so src/czmq.cma src/czmq.cmxa src/czmq.a src/czmq.cmxs -tag debug' terminated with error code 127")
<beginner> make: *** [build] Error 1
<adrien> ad you run "ocaml setup.ml -configure" before installing opam?
<beginner> opam is already installed
<Kakadu> nono
<Kakadu> beginner: Can you try ./configure in zeromq src directory?
avsm has quit [Quit: Leaving.]
<beginner> Kakadu: the zeromq and czmq are already installed
gereedy has quit [Ping timeout: 240 seconds]
<Kakadu> aaah, your project depends on zeromq
<beginner> its a binding
<Kakadu> do you use oasis?
<beginner> yes
<Kakadu> do you have ./configure? re-run it
<beginner> i tried that as well
<mrvn> ldd /home/florian/.opam/4.00.1/bin/ocamlbuild
<mrvn> and rerun oasis
tizoc has quit [Ping timeout: 248 seconds]
<beginner> linux-vdso.so.1 => (0x00007fff4301d000)
<beginner> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff9db960000)
<beginner> libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ff9db75c000)
<beginner> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff9db393000)
<beginner> /lib64/ld-linux-x86-64.so.2 (0x00007ff9dbc7c000)
gereedy has joined #ocaml
<mrvn> error 127 i usualy an exec failure but maybe it isn't ocamlbuild that fails but something it calls
tizoc has joined #ocaml
<thomasga> beginner: remove setup.data
<beginner> thomasga: thanks that solved the problem
Arsenik has quit [Remote host closed the connection]
<beginner> now i get this
<beginner> ocamlfind: [WARNING] You have installed DLLs but the directory /home/florian/.opam/4.01.0/lib/stublibs is not mentioned in ld.conf
<beginner> why doesnt opam add the stublibs folder automatically to ld.conf?
WraithM_ has quit [Ping timeout: 265 seconds]
<travisbrady> Anyone ever seen this error from JS's re2 bindings: "re2/dfa.cc:447: DFA out of memory: prog size 14494 mem 2679810"? Got it while experimenting in utop.
<thomasga> beginner: it's a just a warning, CAML_LD_LIBRARY path is set properly by opam
robink_ has joined #ocaml
<thomasga> (which does not change anything outside ~/.opam and hence does not modify your ld.conf)
mcclurmc has quit [Remote host closed the connection]
robink has quit [Ping timeout: 240 seconds]
WraithM_ has joined #ocaml
suicidemaker has quit [Ping timeout: 265 seconds]
snyp has joined #ocaml
ulfdoz has quit [Ping timeout: 248 seconds]
WraithM_ has quit [Ping timeout: 265 seconds]
WraithM_ has joined #ocaml
<beginner> thomasga: but why do i get then this error
<beginner> Fatal error: exception Dl.DL_error("./bin-client: undefined symbol: zauth_new")
<beginner> i installed my binding and wrote this little test programm
<thomasga> eval `opam config env` ?
sheijk has joined #ocaml
<beginner> thomasga: still the same
<thomasga> no idea then
metasyntax has quit [Quit: Leaving]
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
<Kakadu> `files main.cmx and ../tsdl.cmxa make inconsistent assumptions over interface Tsdl`
<Kakadu> I was always able to fix this using `make clean`
<Kakadu> until this moment..
<mrvn> Is the tsdl compiled with the current ocaml?
<Kakadu> yep
<Kakadu> Moreover I install it manually
<mrvn> is ../tsdl using main?
<mrvn> as in do you have y cycle?
<mrvn> s/y/a/
<Kakadu> I don't think so, it is in /home/kakadu/.opam/4.01.0beta1+opamdoc/lib/tsdl/tsdl.cmxa
<mrvn> and main?
<Kakadu> main uses tsdl, yes
<Kakadu> I just created it
<Kakadu> in @PWD
<Kakadu> $PWD*
<mrvn> but where is it that ../tsdl.cmxa exists?
<Kakadu> In /home/kakadu/.opam/4.01.0beta1+opamdoc/lib/tsdl/tsdl.cmxa
<Kakadu> I meant /....../tsdl
<mrvn> Note the ".."
<Kakadu> not ../tsdl.cmxa
<mrvn> ahh
<Kakadu> Sorry
<mrvn> don't shorten that to just .., people will read that as the parent dir.
mcclurmc has joined #ocaml
beginner has quit [Quit: Leaving]
<Kakadu> Well, I'm sure that it happens because of my patch to tsdl
<Kakadu> develper's version works OK
<mrvn> But that should be solved by make clean
<Kakadu> It doesnt
<mrvn> make clean both and rebuild both again
thomasga has quit [Quit: Leaving.]
<Kakadu> the right reinstall command is:
<Kakadu> ./build && ./pkg/build && ./pkg/pkg-builder && opam-installer install --prefix=`opam config var prefix` tsdl.install
<Kakadu> previously I didn't add 2nd and 3rd one
<smondet> Kakadu: if you install in opam's tree, why don't you use `opam pin` for your modified version and then `opam install` ?
<smondet> (would look simpler to me)
<Kakadu> hmmm
<Kakadu> I will do this next time
snyp has quit [Quit: Leaving]
<Kakadu> I thought that opam can't ping to local path, only version (like apt-pinning)
<whitequark> it's the other way around
ulfdoz has joined #ocaml
<smondet> opam can pin local paths, repositories, or versions
ttamttam has quit [Quit: ttamttam]
Kakadu has quit []
zpe has quit [Remote host closed the connection]
ambul has quit [Ping timeout: 240 seconds]
ambul has joined #ocaml
mreca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
avsm has joined #ocaml
sillyotter has joined #ocaml
tautologico has joined #ocaml
ollehar has quit [Ping timeout: 265 seconds]
dant3 has quit [Remote host closed the connection]
oo1 has joined #ocaml
<oo1> Bonsoir =)
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ocaml
mcclurmc has quit [Ping timeout: 248 seconds]
malvarez has joined #ocaml
Eyyub has joined #ocaml
WraithM_ has quit [Ping timeout: 245 seconds]
<oo1> Il y a quelqu'un ?
<oo1> J'aimerai juste, si possible, avoir un retour d'experience sur ocaml
<oo1> car j'aimerai apprendre un nouveau language de programmation
<oo1> mais j'ai des doutes
<def-lkb> => /join #ocaml-fr pour parler françois
<oo1> xD
<oo1> okay sorry
<oo1> i'm a noob, and i have some doubt
<oo1> i would like to learn ocaml
<oo1> (or lisp or sheme.. but i don't know make a choice)
strobegen has quit [Quit: Leaving.]
<oo1> #join #ocaml-fr
<oo1> fu :/
<def-lkb> avec un "/" :)
<oo1> xD
<oo1> décidément
<oo1> thx
<oo1> ++all
oo1 has left #ocaml []
WraithM_ has joined #ocaml
travisbrady has quit [Quit: travisbrady]
mcclurmc has joined #ocaml
oriba has joined #ocaml
<oriba> in the reference-manual there is a GADT example, which looks strange to me:
<oriba> let rec eval: type a. a term -> a = function
zpe has joined #ocaml
<oriba> what does the "type a. a term" mean? Is "a." a certain syntactical issue?
mcclurmc has quit [Ping timeout: 245 seconds]
<mrvn> oriba: "type a ." creates a polymorphic type variable that you can use in the remainder of the type specs.
<mrvn> It's sor of like "'a term -> 'a" but as GADT.
<oriba> and what about the type _ term = in that example? Why is there a _ pattern? Does it has something to do with this polymorphic type? Is that all a new syntax? Don't remember "a." in 3.11 stuff
<mrvn> oriba: _ is a syntax for when you don't need the name of the type variable.
<mrvn> it says there is a type variable and I don't care what you call it.
<malvarez> oriba: about the 'type a . a' syntax, you might find this useful https://ocaml.janestreet.com/?q=node/79
<mrvn> With GADTs you need the "type a." syntax a lot.
<mrvn> and you have to annotate types a lot
<oriba> hmhh
<malvarez> Yeah, but that syntax is in fact older than GADTs and has a few more uses
<malvarez> It's true that GADTs are the most common
zpe has quit [Ping timeout: 264 seconds]
<oriba> It seems that syntax is only introduced informally by example in chapter 7.18.
<oriba> The a. syntax.... or is it part of a different chgapter, where it is explained in detail?
<malvarez> it's defined in sections 7.12 (Explicit polymorphic type annotations) and 7.13 (Locally abstract types)
<oriba> ah, ok... should read that too ;-)
<malvarez> at first glance it looks unrelate
groovy2shoes has joined #ocaml
<malvarez> but the syntax 'type t . t' is in fact syntactic sugar
<malvarez> it's all in sections 12 and 13
<malvarez> (7.12 and 7.13, that is)
<oriba> ah, ok.
<oriba> GADT look very powerful...
<mrvn> They allow you to make things type save that you couldn't before.
<mrvn> or only exceedingly ugly.
<mrvn> Verry usefull for parsing languages and building a type safe AST.
<oriba> yes, ugly... seems like the save a lot of pattern matches
<oriba> I will rewrite a command loop of one of my programs with GADTs. I think it will make the code cleaner and saves much lines of code...
<mrvn> using GADTs for witness types is also fun.
<mrvn> You can make an universal container where you store data of any type + witness. But it's still type save because you can only extract data with the right witness.
<malvarez> Yeah, you can basically do typesafe casts
<malvarez> The classical example is embedding the simply typed lambda-calculus
<mrvn> Without GADTs you have to user 2 records with polymorphic functions to do the same.
<oriba> mrvn, what is witness code?
Xenasis has joined #ocaml
<mrvn> oriba: You can make a type _ witness = ... GADT and then use type a . a witness -> a -> unit
<mrvn> The witness is a dummy that only ensures the type is correct.
<oriba> hmhh
<oriba> aha
<mrvn> And you can match on the witness and have different code depending on the type
darkf has joined #ocaml
tane has quit [Quit: Verlassend]
avsm has quit [Quit: Leaving.]
travisbrady has joined #ocaml
Xenasis has quit [Remote host closed the connection]
WraithM_ has quit [Ping timeout: 265 seconds]
sillyotter has quit [Quit: Bye]
thomasga has joined #ocaml
zpe has joined #ocaml
zpe has quit [Ping timeout: 246 seconds]
palomer has quit [Ping timeout: 250 seconds]
nikki93 has joined #ocaml
travisbrady has quit [Quit: travisbrady]
nikki93_ has joined #ocaml
thomasga has quit [Quit: Leaving.]
ulfdoz has quit [Ping timeout: 248 seconds]
nikki93 has quit [Ping timeout: 264 seconds]
nikki93_ has quit [Remote host closed the connection]
q66_ has joined #ocaml
q66 has quit [Disconnected by services]
q66_ is now known as q66
mcclurmc has joined #ocaml
madroach has quit [Ping timeout: 252 seconds]
madroach has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
shinnya has joined #ocaml
mcclurmc has joined #ocaml