<rks`>
reventlov: implying he didnt mean "Paris, TX"
<eikke__>
reventlov: maybe once I live there ;-)
<eikke__>
I might take a job over there, but should figure out living costs (rent etc)
<rks`>
eikke__: where are you from?
<eikke__>
Belgium
WraithM has quit [Ping timeout: 255 seconds]
<rks`>
ok, the answer is: expensive
<eikke__>
I know :-) that's why I need to figure this out carefully before accepting any offer
thomasga has joined #ocaml
bezirg has joined #ocaml
avsm has joined #ocaml
<jerith>
I'm looking at some code I wrote last month.
<jerith>
It's so horrible.
<jerith>
I guess that means my OCaml has improved quite a lot since then.
badon has joined #ocaml
<ygrek>
jerith, or maybe you just write horrible code
<whitequark>
cruel
<ygrek>
l0g1c
<jerith>
ygrek: I usually don't notice that my code is horrible.
<jerith>
(Except when it's horrible for reasons I can't escape.)
<ygrek>
inattentiveness - tick ^_^
* jerith
grins.
<jerith>
I was just starting to learn OCaml when I wrote this code. Now that I kind of know what I'm doing I can see all the beginner mistakes I made.
<jerith>
So I'm replacing them with more advanced beginner mistakes. ;-)
ggole has joined #ocaml
q66 has joined #ocaml
<jerith>
Should I be using atdgen for JSON serialisation?
hd has joined #ocaml
octachron has joined #ocaml
<whitequark>
atdgen is great, if a bit quirky
<whitequark>
or you could wait for JSON support in ppx_deriving ;p
<jerith>
How do I get stack traces from my errors?
claudiuc has quit [Remote host closed the connection]
<jerith>
whitequark: Tempting, but I'm only off work for two more days and I want to have a prototype of this thing finished before I go back.
<whitequark>
jerith: aww shoot. I'm busy for exactly two days
<whitequark>
atdgen it is, then
<whitequark>
stacktraces; export OCAMLRUNPARAM=b
<jerith>
I may switch to ppx_deriving at some point in the future, though.
<whitequark>
I will be more motivated to implement it if you open an inssue
<jerith>
Wonderful, thank you.
<jerith>
whitequark: Does ppx_deriving require 4.02?
<whitequark>
unfortunately, yes
<jerith>
Then I'm not really keen to depend on it until it's been released for a while.
<whitequark>
it should be released soon
<jerith>
I don't mind depending on cutteing-edge libraries, but I prefer to support at least the last two versions of the language I'm using.
<whitequark>
then you're out for at least a year
<jerith>
Yeah. :-/
<jerith>
There's nothing to stop me playing with it before then, but there's a (very tiny) chance that this code might actually be used in production at some point.
ontologiae has quit [Ping timeout: 246 seconds]
ggole has quit [Read error: Connection timed out]
ggole has joined #ocaml
Kakadu has joined #ocaml
<anddam>
adrien: RWO: nothing appropriate
iorivur has quit [Ping timeout: 240 seconds]
maattdd has joined #ocaml
<adrien>
anddam: real work ocaml
<adrien>
?
<anddam>
no
maattdd has quit [Ping timeout: 244 seconds]
<anddam>
adrien: I mean if you asking if I'm interested in ocaml for actual work then the answer is no, I'm reading about it out of curiosity
<anddam>
btw I'm halfway my LISP book, I'd like to finish it before reading more about ocaml. Does knowing LISP help with ML?
<flux>
I think not greatly
<flux>
perhaps a bit, if the alternative is knowing nothing or knowing only imperative languages
<adrien>
argh
<adrien>
real _world_ ocaml
<adrien>
sorry
<adrien>
but that's just the name of the book
<anddam>
flux: the alternative is just imperative paradigm
<anddam>
LISP is so… weird so far
<anddam>
not bad, tho'
iorivur has joined #ocaml
<anddam>
adrien: I still don't get "adrien | anddam: the usual advice is RWO"
<anddam>
the candidate seems to be "OCaml from the Very Beginning"
<jerith>
anddam: Real World OCaml is a pretty good book.
<spacebat>
looks like it is, sorry for the confusion
<johnelse>
spacebat: I just installed dns, and it's under .opam/4.01.0/lib/dns
lordkryss has quit [Quit: Connection closed for inactivity]
<spacebat>
that's bizarre
<spacebat>
maybe I didn't install things properly
<spacebat>
should I try to wipe everything and reinstall opam?
<johnelse>
if it's under 4.01.0/lib/lwt then it sounds like something's gone very wrong
<spacebat>
good to know its probably something I did
<spacebat>
the tests start with open Lwt
<johnelse>
it might depend on Lwt, but it shouldn't have installed under the lwt directory
<spacebat>
but I can't run them because ocaml complains of unbound module Lwt
<spacebat>
more evidence that my install is broken
<spacebat>
thanks
<johnelse>
good luck :) I used to have to destroy .opam now and then, but I haven't for a while now
pyon has joined #ocaml
thomasga has quit [Quit: Leaving.]
thomasga has joined #ocaml
BitPuffin has quit [Ping timeout: 240 seconds]
<asmanur>
is camlp4 supposed to compile in opam (ocaml 4.02)? I have a weird "Is a directory" exception not caught by ocamlbuild when trying to compile
yomimono has joined #ocaml
thomasga has quit [Quit: Leaving.]
<Drup>
whitequark: Not convinced by the fact that it's a webpage.
BitPuffin has joined #ocaml
eikke__ has quit [Ping timeout: 260 seconds]
teiresia1 has quit [Changing host]
teiresia1 has joined #ocaml
teiresia1 is now known as teiresias
<bernardo1pc>
[ERROR] The compilation of ocamlfind.1.5.2 failed. -> eeek
S11001001 has joined #ocaml
S11001001 has quit [Changing host]
S11001001 has joined #ocaml
lordkryss has joined #ocaml
samrat has quit [Ping timeout: 255 seconds]
<Drup>
AltGr: what are the correct things to do to so that ocamlfind install C generated files in the correct places with opam ?
<Drup>
It doesn't work by default :/
thomasga has joined #ocaml
<AltGr>
ugh what OS ?
<Drup>
linux
<Drup>
the ocamlfind package is half-assed, and it's not mind, so it's *possible* broken, but I would like to actually know that
<Drup>
mine*
<AltGr>
I need a little more context here...
<Drup>
yeah, I guess
samrat has joined #ocaml
bytbox has joined #ocaml
Submarine has quit [Quit: Leaving]
badon has quit [Ping timeout: 260 seconds]
avsm has joined #ocaml
fold has joined #ocaml
yacks has quit [Ping timeout: 264 seconds]
yacks has joined #ocaml
<Drup>
actually, I was testing with the toplevel, and it seems to work with the standard compiler
<Drup>
so maybe it's just a toplevel issue
S1100100` has joined #ocaml
<Drup>
so, what would cause #require to cause "Error: The external function `n_is_null' is not available " ?
thomasga1 has joined #ocaml
<smondet>
Drup: malformed ocamlfind package?
<smondet>
oh you know that, I missed some backlog
<Drup>
also, C things are installed in the wrong path, I had to add ".opam/4.01.0/lib/stublibs" in ld.conf
S11001001 has quit [Ping timeout: 240 seconds]
samrat has quit [Ping timeout: 250 seconds]
ivan\ has quit [Ping timeout: 245 seconds]
ivan\ has joined #ocaml
pyon has quit [Ping timeout: 245 seconds]
thomasga has quit [Ping timeout: 245 seconds]
so has quit [Ping timeout: 245 seconds]
ivan\ has quit [Changing host]
ivan\ has joined #ocaml
so has joined #ocaml
samrat has joined #ocaml
pyon has joined #ocaml
travisbrady has quit [Quit: travisbrady]
bezirg has joined #ocaml
<MercurialAlchemi>
I'll rephrase my question from earlier
<MercurialAlchemi>
Where can I get a non-broken file move function?
<MercurialAlchemi>
fileutils?
bytbox has quit [Remote host closed the connection]
bytbox has quit [Remote host closed the connection]
hhugo has quit [Quit: Leaving.]
rgrinberg has quit [Quit: Leaving.]
jwatzman|work has joined #ocaml
<Drup>
could the lack of cmxs cause the issue with the toplevel ?
rgrinberg has joined #ocaml
<MercurialAlchemi>
smondet: this looks involved
<AltGr>
Drup: did you add the ~/.ocamlinit suggested by `opam init` ?
<AltGr>
(you can re-run `opam init` to check safely)
<Drup>
AltGr: I did, but a looong time ago
<Drup>
has it changed ?
<AltGr>
it didn't change
<AltGr>
should still be a safer version of `Topdirs.dir_directory (Sys.getenv "OCAML_TOPLEVEL_PATH")`
dereinzige has quit [Ping timeout: 255 seconds]
<Drup>
so yes, I have it
fraggle_laptop has quit [Remote host closed the connection]
<AltGr>
and OCAML_TOPLEVEL_PATH is set by `opam config env`
<Drup>
but actually, the library isn't building cmxs, I think that is the actual issue.
<Drup>
(wouldn't solve the thingy with ld.conf, no idea about this one)
* Drup
is spoiled by oasis doing everything for him.
_0xAX has joined #ocaml
WraithM has joined #ocaml
Kakadu has quit [Quit: Page closed]
BitPuffin has quit [Ping timeout: 255 seconds]
koderok has joined #ocaml
S1100100` is now known as S11001001
S11001001 has quit [Changing host]
S11001001 has joined #ocaml
jprakash has quit [Quit: Lost terminal]
samrat has quit [Ping timeout: 260 seconds]
ebzzry has joined #ocaml
thomasga1 has quit [Ping timeout: 260 seconds]
BitPuffin has joined #ocaml
artagnon has joined #ocaml
samrat has joined #ocaml
artagnon has left #ocaml [#ocaml]
koderok has quit [Ping timeout: 246 seconds]
AltGr has left #ocaml [#ocaml]
thomasga has joined #ocaml
samrat has quit [Ping timeout: 250 seconds]
troutwine_away is now known as troutwine
samrat has joined #ocaml
axiles has quit [Ping timeout: 255 seconds]
samrat has quit [Ping timeout: 245 seconds]
BitPuffin has quit [Ping timeout: 255 seconds]
samrat has joined #ocaml
Submarine has joined #ocaml
Submarine has joined #ocaml
jprakash has joined #ocaml
jwatzman|work has quit [Quit: jwatzman|work]
axiles has joined #ocaml
avsm has quit [Quit: Leaving.]
samrat has quit [Ping timeout: 260 seconds]
samrat has joined #ocaml
kakadu_ has joined #ocaml
kakadu_ has quit [Client Quit]
Kakadu has joined #ocaml
Kakadu has quit [Client Quit]
Kakadu has joined #ocaml
Kakadu has quit [Read error: Connection reset by peer]
Kakadu has joined #ocaml
Kakadu has quit [Remote host closed the connection]
samrat has quit [Ping timeout: 246 seconds]
Kakadu has joined #ocaml
Kakadu has quit [Client Quit]
Kakadu has joined #ocaml
Kakadu has quit [Read error: Connection reset by peer]
Kakadu has joined #ocaml
Kakadu has quit [Read error: Connection reset by peer]
thomasga has quit [Quit: Leaving.]
Kakadu has joined #ocaml
Kakadu has quit [Remote host closed the connection]
Kakadu has joined #ocaml
dsheets has quit [Ping timeout: 260 seconds]
Kakadu has quit [Read error: Connection reset by peer]
Kakadu has joined #ocaml
samrat has joined #ocaml
travisbrady has quit [Quit: travisbrady]
maattdd has quit [Ping timeout: 240 seconds]
sepp2k has quit [Quit: Konversation terminated!]
olauzon has joined #ocaml
bezirg has quit [Quit: Leaving.]
travisbrady has joined #ocaml
fraggle_laptop has joined #ocaml
ollehar has joined #ocaml
yacks has quit [Ping timeout: 244 seconds]
octachron has quit [Quit: Page closed]
yacks has joined #ocaml
_0xAX has quit [Remote host closed the connection]
Hannibal_Smith has quit [Quit: Sto andando via]
bytbox has joined #ocaml
yomimono has quit [Ping timeout: 260 seconds]
maattdd has joined #ocaml
bytbox has quit [Remote host closed the connection]
samrat has quit [Ping timeout: 264 seconds]
dereinzige has joined #ocaml
ygrek has quit [Ping timeout: 250 seconds]
samrat has joined #ocaml
dsheets has joined #ocaml
nirvdrum has joined #ocaml
Thooms has joined #ocaml
BitPuffin has joined #ocaml
BitPuffin has quit [Ping timeout: 240 seconds]
samrat has quit [Ping timeout: 260 seconds]
samrat has joined #ocaml
travisbrady has quit [Quit: travisbrady]
hhugo has joined #ocaml
michael_lee has joined #ocaml
dereinzige has quit [Ping timeout: 272 seconds]
yomimono has joined #ocaml
Anarchos has joined #ocaml
ggole has quit []
genewitch has joined #ocaml
troutwine is now known as troutwine_away
samrat has quit [Quit: Computer has gone to sleep.]
michael_lee has quit [Quit: Ex-Chat]
olauzon has quit [Quit: olauzon]
hhugo has quit [Quit: Leaving.]
bytbox has joined #ocaml
jprakash has quit [Ping timeout: 272 seconds]
WraithM has quit [Quit: Lost terminal]
hhugo has joined #ocaml
jprakash has joined #ocaml
claudiuc has joined #ocaml
WraithM has joined #ocaml
rgrinberg has quit [Quit: Leaving.]
seanmcl has joined #ocaml
troutwine_away is now known as troutwine
jprakash has quit [Ping timeout: 255 seconds]
jao` has joined #ocaml
jao` has quit [Changing host]
jao` has joined #ocaml
parcs has quit [Remote host closed the connection]
jprakash has joined #ocaml
jwatzman|work has joined #ocaml
rgrinberg has joined #ocaml
parcs has joined #ocaml
\q has quit [Read error: Connection reset by peer]
rgrinberg has quit [Quit: Leaving.]
philtor_ has joined #ocaml
rgrinberg has joined #ocaml
yacks has quit [Remote host closed the connection]
_andre has quit [Quit: leaving]
boogie has joined #ocaml
travisbrady has joined #ocaml
rgrinberg has left #ocaml [#ocaml]
iorivur has joined #ocaml
dereinzige has joined #ocaml
BitPuffin has joined #ocaml
travisbrady has quit [Quit: travisbrady]
araujo has quit [Read error: Connection reset by peer]
araujo has joined #ocaml
Kakadu has quit [Quit: Konversation terminated!]
Submarine has quit [Quit: Leaving]
MercurialAlchemi has quit [Ping timeout: 260 seconds]
ollehar has quit [Ping timeout: 240 seconds]
englishm_ has joined #ocaml
Thooms has quit [Ping timeout: 264 seconds]
englishm has quit [Ping timeout: 240 seconds]
travisbrady has joined #ocaml
iorivur has quit [Ping timeout: 260 seconds]
jprakash has quit [Ping timeout: 245 seconds]
jao` has quit [Ping timeout: 255 seconds]
maattdd has quit [Ping timeout: 250 seconds]
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
Arsenik has quit [Remote host closed the connection]
Thooms has joined #ocaml
maattdd has joined #ocaml
demonimin has quit [Remote host closed the connection]
thomasga has joined #ocaml
demonimin has joined #ocaml
yomimono has quit [Ping timeout: 260 seconds]
yomimono has joined #ocaml
travisbrady has quit [Quit: travisbrady]
englishm_ has quit [Remote host closed the connection]
englishm has joined #ocaml
jao` has joined #ocaml
jao` has quit [Changing host]
jao` has joined #ocaml
jao` is now known as jao
seanmcl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bytbox has quit [Remote host closed the connection]
jprakash has joined #ocaml
hhugo has quit [Quit: Leaving.]
iorivur has joined #ocaml
hhugo has joined #ocaml
englishm has quit [Remote host closed the connection]
englishm has joined #ocaml
englishm has quit [Read error: Connection reset by peer]
yomimono has quit [Ping timeout: 260 seconds]
jwatzman|work has quit [Quit: jwatzman|work]
philtor_ has quit [Ping timeout: 245 seconds]
S11001001 has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
darkf has joined #ocaml
dsheets has quit [Ping timeout: 260 seconds]
eikke__ has joined #ocaml
philtor has quit [Ping timeout: 272 seconds]
travisbrady has joined #ocaml
bytbox has joined #ocaml
troutwine is now known as troutwine_away
fold has quit [Ping timeout: 240 seconds]
hhugo has quit [Quit: Leaving.]
hhugo has joined #ocaml
coder has joined #ocaml
travisbrady has quit [Quit: travisbrady]
<coder>
Hello brilliant people. Trying to build a parser here in ocamlyacc. Got it mostly working, but it would be great if we could have errors be a bit more verbose. Please check it out at http://lpaste.net/885411592584298496
<coder>
Right now, parse_error only outputs 'syntax error' when something fails