adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | Current MOOC: https://huit.re/ocamlmooc | OCaml 4.04.0 release notes: http://ocaml.org/releases/4.04.html | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
cbot_ has joined #ocaml
lobo has quit [Changing host]
lobo has joined #ocaml
ygrek_ has joined #ocaml
johnelse has quit [Ping timeout: 240 seconds]
johnelse has joined #ocaml
mfp has quit [Ping timeout: 240 seconds]
glib has joined #ocaml
glib has quit [Client Quit]
silver_ has quit [Read error: Connection reset by peer]
copy` has quit [Quit: Connection closed for inactivity]
jao has joined #ocaml
nullifidian_ is now known as nullifidian
jao has quit [Ping timeout: 272 seconds]
pierpa has quit [Quit: Page closed]
freusque has quit [Ping timeout: 272 seconds]
freusque has joined #ocaml
Guest2418 is now known as awal
nicoo has joined #ocaml
infinity0 has joined #ocaml
MercurialAlchemi has joined #ocaml
mengu has quit [Remote host closed the connection]
seangrove has joined #ocaml
_whitelogger has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 240 seconds]
Simn has joined #ocaml
MercurialAlchemi has joined #ocaml
cbot_ has quit [Quit: Leaving]
seangrove has quit [Ping timeout: 246 seconds]
jlam_ has joined #ocaml
jlam is now known as Guest22100
jlam_ is now known as jlam
Guest22100 has quit [Ping timeout: 240 seconds]
alfredo has joined #ocaml
sz0 has joined #ocaml
AltGr has joined #ocaml
Simn has quit [Read error: Connection reset by peer]
Simn has joined #ocaml
johnelse has quit [Ping timeout: 260 seconds]
johnelse has joined #ocaml
freusque has quit [Quit: WeeChat 1.7]
freusque has joined #ocaml
rwmjones has joined #ocaml
zpe has joined #ocaml
igitoor has quit [Ping timeout: 255 seconds]
mfp has joined #ocaml
igitoor has joined #ocaml
igitoor has quit [Changing host]
igitoor has joined #ocaml
yaewa has joined #ocaml
moei has quit [Ping timeout: 240 seconds]
yaewa has quit [Read error: Connection reset by peer]
ed-ilyin-lv has quit [Quit: WeeChat 1.4]
moei has joined #ocaml
rossberg has joined #ocaml
<reynir> Hrm
kakadu has joined #ocaml
<reynir> I tried to use angstrom for the whisper format, but I get stack overflow on a test file :o It's likely I'm doing something wrong (first time I use angstrom)
<reynir> Oh, I see now
<reynir> For a field I'm getting 257698039200L instead of 1L \o/
<reynir> Oh whoops, int64 when it should've been int32
Simn has quit [Read error: Connection reset by peer]
<companion_cube> huuumm, is there a good reason the syntax doesn't allow `let f (x y:int) = …` ?
<def`_> companion_cube: c'est chiant à implementer =]
<companion_cube> oh, ok
<companion_cube> too bad ^^
<def`_> mais ouais tu peux faire une PR :)
<companion_cube> no thanks :p
<reynir> (not #ocaml-fr btw)
<kakadu> No, it's fine. Some motivation to study french
<def`_> sorry :)
<reynir> Heh
ed-ilyin-lv has joined #ocaml
<def`_> companion_cube: the problem is that the grammar for let_bindings expects 1) a labelled argument (special case) or 2) a generic pattern
<def`_> to allow a list, one would need a "pattern list" case which would require a bit of duplication (but I suspect the grammar could be reenginered that way without too much pain :P)
<companion_cube> I see
<companion_cube> but as usual, not really enough time :/
betux has joined #ocaml
mengu has joined #ocaml
mengu has quit [Ping timeout: 240 seconds]
dlat_ has quit [Ping timeout: 258 seconds]
dlat has joined #ocaml
<Drup> def`_: do you know if there is anything blocking the menhir rewrite, except lack of manpower ?
mengu has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
jnavila has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
<def`_> lack of man(gasche)power I guess
betux has quit [Ping timeout: 255 seconds]
igitoor has quit [Ping timeout: 255 seconds]
igitoor has joined #ocaml
igitoor has quit [Ping timeout: 260 seconds]
igitoor has joined #ocaml
sh0t has joined #ocaml
igitoor has quit [Changing host]
igitoor has joined #ocaml
TheLemonMan has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
sh0t has quit [Remote host closed the connection]
mengu has quit [Read error: Connection reset by peer]
ziyourenxiang has joined #ocaml
sz0 has quit [Quit: Connection closed for inactivity]
<companion_cube> but gasche is already a scarce resource
TheLemon1an has joined #ocaml
TheLemonMan has quit [Ping timeout: 272 seconds]
TheLemonMan has joined #ocaml
mengu has joined #ocaml
mengu has quit [Read error: Connection reset by peer]
TheLemon1an has quit [Ping timeout: 268 seconds]
mengu has joined #ocaml
betux has joined #ocaml
silver has joined #ocaml
mengu_ has joined #ocaml
mengu has quit [Ping timeout: 255 seconds]
TheLemon1an has joined #ocaml
TheLemonMan has quit [Disconnected by services]
TheLemon1an is now known as TheLemonMan
mengu has joined #ocaml
mengu_ has quit [Ping timeout: 268 seconds]
betux has quit [Ping timeout: 260 seconds]
_andre has joined #ocaml
dmi3y has joined #ocaml
jnavila has quit [Ping timeout: 240 seconds]
shinnya has joined #ocaml
dmi3y has quit [Quit: dmi3y]
jnavila has joined #ocaml
beginner has joined #ocaml
<beginner> Hi, i have a minimal js_of_ocaml example, which does not work as expected. Can someone point me to my mistake
betux has joined #ocaml
mengu_ has joined #ocaml
mengu has quit [Ping timeout: 268 seconds]
<def`_> and what happens?
sz0 has joined #ocaml
<beginner> def`_: i get undefined
betux has quit [Remote host closed the connection]
betux has joined #ocaml
spew has joined #ocaml
mengu has joined #ocaml
mengu_ has quit [Ping timeout: 245 seconds]
<mengu> beginner: i've never used js_of_ocaml, are you sure your namespace is exported somewhere
betux has quit [Remote host closed the connection]
betux has joined #ocaml
cbot has joined #ocaml
<orbifx[m]> can I get the system thread ID of an ocaml Thread.t ?
<beginner> mengu: i would assume the namespace is correct since i dont get an error at the call but with the result
<mengu> beginner: in the console when you inspect myMathLib
<mengu> what do you see
<beginner> i see the object
<mengu> beginner: what if you changed the var name from test to something else
al-damiri has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
<Leonidas> companion_cube: I would much rather wish for an inline signature syntax as Haskell
<Leonidas> type annotations on functions look horrible in ML
<Leonidas> let f (a : b) (c : d) (e :f) : g = …
<companion_cube> I'm getting used to it
<companion_cube> honestly it's not that bad
<flux> let f : b -> d -> f = fun a c e -> (* tadah *)
<orbifx[m]> I found a Core based solution: gettid
betux has quit [Remote host closed the connection]
<orbifx[m]> Any non Core? Based on Std, Batteries, .. ?
betux has joined #ocaml
<beginner> mengu: the problem appears to be something else, i recompile it with different input but nothing changes
<mengu> beginner: i even failed to compile lol
<beginner> mengu: do you have the right ppx stuff_
<beginner> ?
<Drup> beginner: please pastebin all the files independently
<mengu> beginner: lol, it's my fault, i was trying to run js_of_ocaml on .ml file
<mengu> now it compiled
<beginner> Drup: next time i will do that
MercurialAlchemi has quit [Ping timeout: 255 seconds]
<mengu> beginner: i take that <button> part is not actually in the .ml source right?
<mengu> is it?
<Drup> beginner: well, I can't solve the problem if you don't ... :/
<mengu> this just worked for me
<mengu> ocamlfind ocamlc -verbose -package js_of_ocaml -package js_of_ocaml.ppx -linkpkg ocaml_test.ml -o ocaml_test.byte && js_of_ocaml ocaml_test.byte
<companion_cube> orbifx[m]: Thread.id?
<mengu> i included ocaml_test.js
<mengu> and myMathLib.test is 2
silver has quit [Read error: Connection reset by peer]
<orbifx[m]> companion_cube: that is not the OS (Linux) ID for the thread. They are just increasing numbers
<beginner> mengu: sorry, no the button click part is the part in the html page where i call it. Sorry for the confusion
<beginner> Drup: sorry thought its just such a small snippet that I put it both into one file. I will do it properly next time
<orbifx[m]> companion_cube: I want to monitor my Threads from htop
<Drup> beginner: the problem is that 1) your pastebin is a mashup of ml and html 2) your bug is in the glue code.
<mengu> oh damn
<mengu> Drup is right
<companion_cube> orbifx[m]: oh. then no idea.
<Leonidas> orbifx[m]: ExtUnix maybe?
<mengu> beginner: dom works like tree, it parses from top to down
<mengu> if you want to be able to access myMathLib.test
<mengu> you have to include it before your access
<beginner> Drup: sorry for the first part
shinnya has quit [Ping timeout: 268 seconds]
<Leonidas> orbifx[m]: yep, Extunix has gettid
<orbifx[m]> Leonidas: checking..
<mengu> beginner: like, include your javascript before you close </head> tag
<beginner> i repasted the html file
<orbifx[m]> Leonidas: excellent, will give it a spin :D
betux has quit [Remote host closed the connection]
<Drup> beginner: like mengu said, but your js scripts in the head
betux has joined #ocaml
<Drup> put*
zpe has quit [Remote host closed the connection]
ciniglio has quit [Ping timeout: 272 seconds]
<orbifx[m]> Leonidas: it'd be cool(-er) if there was Thread.id -> Int function
<beginner> Drup: my js script is in the body
<beginner> or do i misread it?
<Leonidas> I don't think many people use threads in ocaml :p
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
betux has quit [Remote host closed the connection]
betux has joined #ocaml
beginner has quit [Remote host closed the connection]
jlam_ has joined #ocaml
jlam is now known as Guest65719
jlam_ is now known as jlam
Guest65719 has quit [Killed (adams.freenode.net (Nickname regained by services))]
<companion_cube> I do, a bit
malc_ has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
ciniglio has joined #ocaml
spew has quit [Ping timeout: 240 seconds]
betux has quit [Remote host closed the connection]
<toolslive> we use plenty of threads from ocaml.
betux has joined #ocaml
jao has joined #ocaml
FreeBirdLjj has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
spew has joined #ocaml
alqatari has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
philtor has joined #ocaml
freusque has quit [Quit: WeeChat 1.7]
MercurialAlchemi has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
spew has quit [Ping timeout: 246 seconds]
ygrek_ has quit [Ping timeout: 268 seconds]
betux has quit [Remote host closed the connection]
betux has joined #ocaml
AlexRussia has quit [Ping timeout: 240 seconds]
<orbifx[m]> Leonidas: got a temporary solution using ExtUnix, thanks a lot! Wouldn't have found it
alfredo has quit [Quit: Textual IRC Client: www.textualapp.com]
spew has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
betux has quit [Client Quit]
CcxWrk has joined #ocaml
AlexRussia has joined #ocaml
cbot_ has joined #ocaml
cbot has quit [Ping timeout: 240 seconds]
yomimono has joined #ocaml
betux has joined #ocaml
betux has quit [Client Quit]
betux has joined #ocaml
spew has quit [Quit: foobar]
jao has quit [Ping timeout: 240 seconds]
betux has quit [Quit: betux]
betux has joined #ocaml
betux has quit [Client Quit]
betux has joined #ocaml
<Leonidas> hahaha, now with a web 2.0 conformant forum, ocaml can get its share of inane discussion
TheLemonMan has joined #ocaml
Simn has joined #ocaml
jnavila has quit [Ping timeout: 246 seconds]
betux has quit [Remote host closed the connection]
betux has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
jnavila has joined #ocaml
yomimono has quit [Ping timeout: 240 seconds]
jnavila has quit [Ping timeout: 240 seconds]
<companion_cube> …
jnavila has joined #ocaml
toolslive has quit [Ping timeout: 272 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
<jnavila> Leonidas: please note that nobody cared to reply ;-)
<Drup> yet.
betux has quit [Remote host closed the connection]
betux has joined #ocaml
<Leonidas> jnavila: thought about posting gasche's blog post about the ocaml gc as response
<Leonidas> but then again, I'm too old for flamewars :p
toolslive has joined #ocaml
copy` has joined #ocaml
mengu has quit [Read error: Connection reset by peer]
betux has quit [Remote host closed the connection]
betux has joined #ocaml
jnavila has quit [Ping timeout: 246 seconds]
jao has joined #ocaml
mengu has joined #ocaml
maarhart has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
maarhart has quit [Remote host closed the connection]
betux has quit [Remote host closed the connection]
betux has joined #ocaml
larhat has joined #ocaml
johnelse has quit [Ping timeout: 260 seconds]
johnelse has joined #ocaml
zv has quit [Ping timeout: 240 seconds]
betux has quit [Remote host closed the connection]
betux has joined #ocaml
johnelse has quit [Ping timeout: 240 seconds]
johnelse has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
larhat has quit [Quit: Leaving.]
betux has quit [Remote host closed the connection]
yomimono has joined #ocaml
betux has joined #ocaml
AlexRussia has quit [Ping timeout: 240 seconds]
malc_ has quit [Quit: ERC (IRC client for Emacs 25.0.50.2)]
larhat has joined #ocaml
johnelse has quit [Ping timeout: 240 seconds]
mengu has quit [Remote host closed the connection]
mengu has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
AlexRussia has joined #ocaml
mengu has quit [Ping timeout: 240 seconds]
MercurialAlchemi has quit [Ping timeout: 268 seconds]
johnelse has joined #ocaml
betux has quit [Remote host closed the connection]
betux has joined #ocaml
kakadu_ has joined #ocaml
mengu has joined #ocaml
johnelse has quit [Ping timeout: 255 seconds]
betux has quit [Ping timeout: 240 seconds]
johnelse has joined #ocaml
jnavila has joined #ocaml
pierpa has joined #ocaml
Simn has quit [Read error: Connection reset by peer]
_andre has quit [Quit: leaving]
johnelse has quit [Ping timeout: 240 seconds]
johnelse has joined #ocaml
ollehar has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
johnelse has quit [Ping timeout: 246 seconds]
AltGr has left #ocaml [#ocaml]
inr_ is now known as inr
johnelse has joined #ocaml
jabesed has joined #ocaml
johnelse has quit [Ping timeout: 260 seconds]
johnelse has joined #ocaml
jnavila has quit [Ping timeout: 240 seconds]
cbot has joined #ocaml
cbot_ has quit [Ping timeout: 240 seconds]
johnelse has quit [Ping timeout: 240 seconds]
larhat has quit [Quit: Leaving.]
johnelse has joined #ocaml
alqatari has quit [Ping timeout: 260 seconds]
mengu has quit [Quit: Leaving...]
mengu has joined #ocaml
johnelse has quit [Ping timeout: 240 seconds]
johnelse has joined #ocaml
ygrek_ has joined #ocaml
jabesed has quit [Quit: Konversation terminated!]
jabesed has joined #ocaml
zv has joined #ocaml
johnelse has quit [Ping timeout: 268 seconds]
johnelse has joined #ocaml
johnelse has quit [Ping timeout: 246 seconds]
jabesed has quit [Ping timeout: 240 seconds]
johnelse has joined #ocaml
johnelse has quit [Read error: No route to host]
ollehar has quit [Remote host closed the connection]
Guest14435 has joined #ocaml
hup has joined #ocaml
<hup> Hello folks
<mengu> hi hup
<hup> Are there any ocaml/coq jobs out there?
<hup> Looking to earn some money ...
<hup> But, stuck working with boring languages... Any advice? Who uses these very fine languages?
moei has quit [Quit: Leaving...]
troydm has quit [Ping timeout: 260 seconds]
<nore> hup: you can look at https://en.wikipedia.org/wiki/OCaml#Commercial_users if you want do to something with OCaml in the industry
troydm has joined #ocaml
<hup> Tanks for linking that linst. Unfortunately its quite short... :-/
<pierpa> but some of the companies mentioned are quite big
<Drup> nore: you should link the actual list: http://ocaml.org/learn/companies.html
<nore> also, I think OCaml is more used for research (especially in France) than it is in the industry
<nore> Drup: didn't know that existed, thanks!
<hup> Drup, yeak I followed the link in the wini article. Thanks anyway
<Drup> nore: well, it's cited right in that wikipedia section
<hup> pierpa: True, but most of them lack presense where I'm from
kakadu_ has quit [Remote host closed the connection]
<nore> Drup: I should have read a bit more before posting the link then ><
<hup> Are you guys using caml in academia, or using it only for hobby kind of stuff? Or are you actually usingin it in an industry job?
<mengu> i actually want to use it for a side project
<mengu> a real time *.log analytics tool
<hup> Ah, so you are in the planning/prototyping stages of you project. Maybe the best stage :-)
<mengu> indeed
<hup> Anyways, thanks for for your input fellows.. bye
hup has left #ocaml [#ocaml]
cbot_ has joined #ocaml
cbot has quit [Ping timeout: 260 seconds]
Guest14435 has quit [Ping timeout: 268 seconds]
johnelse has joined #ocaml
yomimono has quit [Ping timeout: 268 seconds]
johnelse has quit [Read error: No route to host]
johnelse has joined #ocaml
sz0 has quit [Quit: Connection closed for inactivity]
yomimono has joined #ocaml
johnelse has quit [Ping timeout: 268 seconds]
johnelse has joined #ocaml
zv has quit [Ping timeout: 240 seconds]
johnelse has quit [Ping timeout: 268 seconds]
zv has joined #ocaml
shinnya has joined #ocaml
johnelse has joined #ocaml
alqatari has joined #ocaml
infinity0_ has joined #ocaml
infinity0 has quit [Ping timeout: 268 seconds]
infinity0_ has quit [Changing host]
infinity0 has joined #ocaml