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
nopf has quit [Quit: leaving]
tormen has quit [Ping timeout: 260 seconds]
tormen has joined #ocaml
ryanartecona has quit [Quit: ryanartecona]
sh0t has quit [Ping timeout: 246 seconds]
nopf has joined #ocaml
tormen has quit [Ping timeout: 268 seconds]
tormen has joined #ocaml
sh0t has joined #ocaml
tane has quit [Quit: Leaving]
sh0t has quit [Ping timeout: 264 seconds]
al-damiri has quit [Quit: Connection closed for inactivity]
xmonader has joined #ocaml
silver_ has quit [Quit: rakede]
mfp_ has quit [Ping timeout: 260 seconds]
FreeBirdLjj has joined #ocaml
sh0t has joined #ocaml
jao has quit [Ping timeout: 260 seconds]
jlongster has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
d0nn1e has quit [Ping timeout: 268 seconds]
infinity0_ has joined #ocaml
infinity0_ has joined #ocaml
infinity0_ is now known as infinity0
infinity0 has quit [Killed (verne.freenode.net (Nickname regained by services))]
d0nn1e has joined #ocaml
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
jabroney has quit [Quit: Leaving.]
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]
fraggle_ has quit [Ping timeout: 240 seconds]
fraggle_ has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 256 seconds]
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sh0t has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
wtetzner has quit [Remote host closed the connection]
after____ has joined #ocaml
jlongster has joined #ocaml
after___ has quit [Ping timeout: 268 seconds]
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jabroney has joined #ocaml
fraggle_ has quit [Ping timeout: 264 seconds]
wtetzner has joined #ocaml
fraggle_ has joined #ocaml
thewickedaxe has quit [Quit: Leaving.]
thewickedaxe has joined #ocaml
wtetzner has quit [Remote host closed the connection]
thewickedaxe has quit [Client Quit]
segmond has quit [Quit: l8r]
FreeBirdLjj has quit [Remote host closed the connection]
spew has quit [Ping timeout: 260 seconds]
ygrek has quit [Ping timeout: 256 seconds]
BitPuffin|osx has quit [Ping timeout: 258 seconds]
copy` has quit [Quit: Connection closed for inactivity]
ygrek has joined #ocaml
wtetzner has joined #ocaml
wtetzner has quit [Remote host closed the connection]
p_nathan has joined #ocaml
FreeBirdLjj has joined #ocaml
MercurialAlchemi has joined #ocaml
newbie has joined #ocaml
newbie is now known as lolisa
kakadu has joined #ocaml
ryanartecona has joined #ocaml
thewickedaxe has joined #ocaml
philtor has quit [Ping timeout: 240 seconds]
mrnugget has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 240 seconds]
thewickedaxe has quit [Quit: Leaving.]
lolisa has quit [Quit: KVIrc 4.9.1 Aria http://www.kvirc.net/]
mrnugget has quit [Ping timeout: 258 seconds]
_whitelogger has joined #ocaml
newbie has joined #ocaml
newbie is now known as lolisa
ryanartecona has quit [Quit: ryanartecona]
ryanartecona has joined #ocaml
AlexDenisov has joined #ocaml
AlexDenisov has quit [Client Quit]
infinity0 has joined #ocaml
MercurialAlchemi has joined #ocaml
jabroney has quit [Quit: Leaving.]
AlexDenisov has joined #ocaml
n4323 has quit [Read error: Connection reset by peer]
n4323 has joined #ocaml
FreeBirdLjj has quit [Read error: Connection reset by peer]
p_nathan has quit [Ping timeout: 260 seconds]
ryanartecona has quit [Quit: ryanartecona]
malc_ has joined #ocaml
ryanartecona has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Read error: Connection reset by peer]
zpe has joined #ocaml
FreeBirdLjj has joined #ocaml
freyr has joined #ocaml
alfredo has joined #ocaml
freusque has joined #ocaml
xmonader has quit [Ping timeout: 256 seconds]
jnavila has joined #ocaml
Simn has joined #ocaml
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ryanartecona_ has joined #ocaml
ryanartecona has quit [Ping timeout: 260 seconds]
ryanartecona_ is now known as ryanartecona
kakadu has quit [Remote host closed the connection]
dmj` has quit []
dmj` has joined #ocaml
tane has joined #ocaml
larhat has joined #ocaml
<freehck> People, is there some statistics about GC performance improvement of ocaml.4.04.0 in comparision to ocaml.4.01.0
<freehck> I've upgraded my projects at my job to be compiled with 4.04.0 and now I must convince my chef that we really need it. :)
<freehck> s/chef/boss/
<freehck> So just looking for arguments.
<companion_cube> no idea, but the language itself is arguably better ;)
p_nathan has joined #ocaml
<haesbaert> freehck: there are overflows fixed from 01->04, that should be enough
ryanartecona has quit [Quit: ryanartecona]
ryanartecona has joined #ocaml
ryanartecona has quit [Client Quit]
ollehar has joined #ocaml
AlexDenisov has joined #ocaml
ygrek has quit [Ping timeout: 256 seconds]
octachron has joined #ocaml
yomimono has joined #ocaml
kakadu has joined #ocaml
AltGr has joined #ocaml
lolisa has quit [Quit: KVIrc 4.9.1 Aria http://www.kvirc.net/]
p_nathan has quit [Ping timeout: 240 seconds]
yomimono has quit [Ping timeout: 264 seconds]
larhat has quit [Quit: Leaving.]
mengu has joined #ocaml
tane has quit [Quit: Leaving]
yomimono has joined #ocaml
abeaumont has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AlexDenisov has joined #ocaml
mfp_ has joined #ocaml
dhil has joined #ocaml
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
malc_ has quit [Ping timeout: 268 seconds]
snhmib has joined #ocaml
FreeBirdLjj has joined #ocaml
govg has quit [Ping timeout: 256 seconds]
govg has joined #ocaml
silver has joined #ocaml
snowcrshd has joined #ocaml
g0d355__ has joined #ocaml
tane has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
<freehck> haesbaert: thank you! added to my list.
xmonader has joined #ocaml
<freehck> companion_cube: Simon, iirc you told me about atlas modules. Is it an official name? I can't find where they are described. Looking at Google for "ocaml atlas modules"
<companion_cube> you mean module alias
<freehck> yes
<freehck> thx
AlexDenisov has joined #ocaml
jao has joined #ocaml
d0nn1e has quit [Ping timeout: 240 seconds]
d0nn1e has joined #ocaml
dhil has quit [Ping timeout: 260 seconds]
thewickedaxe has joined #ocaml
argent_smith has joined #ocaml
malc_ has joined #ocaml
xmonader has quit [Ping timeout: 260 seconds]
sepp2k has joined #ocaml
xmonader has joined #ocaml
thewickedaxe has quit [Quit: Leaving.]
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfredo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AlexDenisov has joined #ocaml
jao has quit [Ping timeout: 256 seconds]
jlongster has joined #ocaml
sz0 has joined #ocaml
spew has joined #ocaml
<flux> hmm, this makes it seem like even the tiniest test programs could have a nice command line interface: https://github.com/hammerlab/ppx_deriving_cmdliner
<gallais> looks lovely
BitPuffin|osx has joined #ocaml
<rgrinberg> ^_^'
<rgrinberg> How did this port add so much code?
<Drup> it's not just a port, it also split jsoo into 4 packages
<Drup> and move things around a bit, it seems
<flux> are there some benefits to be had in switching to ocamlbuild? reduced complexity?
<flux> ..to jbuilder from ocamlbuild
<Drup> flux: ocamlbuild for jsoo is a pain
<rgrinberg> Drup: yes, the split into multi opam packages is very welcome
<Drup> it's slow, it's annoying to describe a project that has multiple subprojects with inter dependencies
<rgrinberg> If nothing else, makes opam look a lot bigger than it is :P
<Drup> hhugo tried once already, and gave up, it was just generally worse than raw makefiles
<rgrinberg> Drup: s/annoying/impossible/ in some situations
<Drup> (this is the reason I am less than entousiastic about topkg by the way: ocamlbuild for projects with multiple subprojects is just insanely annoying)
agarwal1975 has joined #ocaml
<flux> so it's maybe just not me who's having trouble with dependencies with ocamlbuild.. :)
<Drup> No, it's not just you, it's the tool itself
<Drup> oasis is better at this, but it comes at other costs
BitPuffin|osx has quit [Ping timeout: 256 seconds]
<rgrinberg> Drup: how come there are still a bunch of makefile rules in that PR? E.g. ppx_deriving_json
<flux> does jbuilder work well for projects with C code?
<rgrinberg> Or is it still WIP?
<rgrinberg> flux: i haven't tried it, but the docs says it's supported
<rks`> flux: yes
<flux> maybe I should consider it then. I'm getting tired with ocamlbuild -clean..
<rks`> I expect core and such have several stubs.c files, and they are built with jbuilder
<rgrinberg> flux: cleaning is 1 thing ocamlbuild does well :P
<flux> apparently jbuilder comes with manual pages.. amazing!
<rgrinberg> flux: crazy, right
averell has quit [Ping timeout: 259 seconds]
<freehck> Drup: if ocamlbuild is a pain what is the better build tool for ocaml?
jimt_ has joined #ocaml
<freehck> Well I know only plain ocmalc/ocamlopt with makefiles and ocamlbuild. Will be interested to look for something more cool than ocamlbuild.
alfredo has joined #ocaml
jimt has quit [Ping timeout: 258 seconds]
<Drup> freehck: I would advise to wait a bit more, if you are not in a hurry
<freehck> Drup: is something new and cool being written? :)
dhil has joined #ocaml
xmonader has quit [Ping timeout: 260 seconds]
zpe has quit [Remote host closed the connection]
kakadu has quit [Quit: Konversation terminated!]
wtetzner has joined #ocaml
snowcrshd has quit [Remote host closed the connection]
frefity has quit [Ping timeout: 256 seconds]
snowcrshd has joined #ocaml
wtetzner has quit [Remote host closed the connection]
<ollehar> what's wrong with make, though?
<companion_cube> it's not convenient for building OCaml
<companion_cube> too many rules, too many file formats, too many dynamic dependencies
<ollehar> building ocaml the compiler, or ocaml projects?
Denommus has joined #ocaml
<companion_cube> ocaml projects
<octachron> ollehar, looking at the time spent improving the compiler makefile lately: both
frefity has joined #ocaml
sh0t has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 258 seconds]
<ollehar> ok
dhil has quit [Ping timeout: 258 seconds]
FreeBirdLjj has joined #ocaml
wtetzner has joined #ocaml
frefity has quit [Ping timeout: 268 seconds]
wtetzner has quit [Remote host closed the connection]
BitPuffin|osx has joined #ocaml
igitoor_ has joined #ocaml
igitoor has quit [Read error: No route to host]
frefity has joined #ocaml
igitoor_ has quit [Changing host]
igitoor_ has joined #ocaml
jabroney has joined #ocaml
shinnya has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
xmonader has joined #ocaml
sz0 has quit [Quit: Connection closed for inactivity]
al-damiri has joined #ocaml
ollehar has quit [Ping timeout: 240 seconds]
jlongster has quit [Ping timeout: 256 seconds]
MercurialAlchemi has joined #ocaml
jlongster has joined #ocaml
dhil has joined #ocaml
philtor has joined #ocaml
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jao has joined #ocaml
p_nathan has joined #ocaml
zpe has joined #ocaml
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dhil has quit [Ping timeout: 246 seconds]
slash^ has joined #ocaml
dhil has joined #ocaml
zpe has quit [Remote host closed the connection]
AlexDenisov has joined #ocaml
Mercuria1Alchemi has joined #ocaml
zpe has joined #ocaml
wtetzner has joined #ocaml
zpe has quit [Remote host closed the connection]
ygrek has joined #ocaml
after____ has quit [Ping timeout: 268 seconds]
after___ has joined #ocaml
freyr has quit [Quit: Lost terminal]
freusque has quit [Quit: WeeChat 1.7]
argent_smith has quit [Quit: Leaving.]
copy` has joined #ocaml
Denommus` has joined #ocaml
Denommus has quit [Ping timeout: 240 seconds]
Denommus` is now known as Denommus
zpe has joined #ocaml
shinnya has quit [Ping timeout: 240 seconds]
zpe has quit [Remote host closed the connection]
MercurialAlchemi has quit [Ping timeout: 264 seconds]
jnavila has quit [Quit: It was time]
alfredo has quit [Quit: Textual IRC Client: www.textualapp.com]
jabroney1 has joined #ocaml
jabroney has quit [Ping timeout: 258 seconds]
AltGr has left #ocaml [#ocaml]
Denommus` has joined #ocaml
Denommus has quit [Ping timeout: 264 seconds]
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Simn has quit [Quit: Leaving]
awal is now known as {}
{} is now known as awal
awal is now known as {{{{O_O}}}}
{{{{O_O}}}} is now known as awal
yomimono has quit [Ping timeout: 246 seconds]
slash^ has quit [Read error: Connection reset by peer]
kolko has quit [Ping timeout: 240 seconds]
jlongster has joined #ocaml
jnavila has joined #ocaml
xmonader has quit [Ping timeout: 240 seconds]
ryanartecona has joined #ocaml
spew has quit [Ping timeout: 260 seconds]
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fraggle_ has quit [Ping timeout: 240 seconds]
rawpass has joined #ocaml
rawpass has left #ocaml [#ocaml]
ygrek has quit [Ping timeout: 260 seconds]
zpe has joined #ocaml
fraggle_ has joined #ocaml
jnavila has quit [Ping timeout: 240 seconds]
fraggle_ has quit [Ping timeout: 240 seconds]
malc_ has quit [Quit: ERC (IRC client for Emacs 25.0.50.2)]
dhil has quit [Ping timeout: 256 seconds]
xmonader has joined #ocaml
ygrek has joined #ocaml
argent_smith has joined #ocaml
zpe has quit [Remote host closed the connection]
ryanartecona has quit [Quit: ryanartecona]
fredcy has quit [Quit: ZNC - http://znc.in]
fredcy has joined #ocaml
BitPuffin|osx has quit [Ping timeout: 240 seconds]
jnavila has joined #ocaml
adnotamentum has joined #ocaml
fredcy has quit [Quit: ZNC - http://znc.in]
<adnotamentum> Hey, can someone please explain how one uses libraries? How come if I try String.split or List.dedup I get "unbound value" errors?
fredcy has joined #ocaml
TheLemonMan has joined #ocaml
<tautologico> adnotamentum: These functions are not present in the standard library. are you trying to use Core?
<adnotamentum> I guess so tautologico Just trying to split a string.
<mengu> adnotamentum: String.split_on_char maybe?
<tautologico> are you taking code from the Real World OCaml book?
<tautologico> String.split_on_char is in stdlib
<adnotamentum> No. No idea what that is. Stack Overflow says to split a string use String.split.
<tautologico> this is from the newest version though
<adnotamentum> That explains why it isn't working, I guess
<tautologico> I think the SO answer you say was probably using functions from Core
<mengu> that's the one you're referring to
AlexDenisov has joined #ocaml
<adnotamentum> How would I install/use Core?
<mengu> adnotamentum: which OS?
<mengu> do you have opam?
<tautologico> adnotamentum: opam install core
<adnotamentum> Linux Mint, and probably not
<tautologico> it's a good idea to install opam then, it makes it easy to install new libs
<tautologico> isn't Mint derived from Debian/Ubuntu? If using PPAs from Ubuntu work, there's one with up-to-date opam
fredcy has quit [Quit: ZNC - http://znc.in]
<adnotamentum> Hm, it may be better just to update OCaml
fredcy has joined #ocaml
xmonader has quit [Ping timeout: 258 seconds]
Denommus` is now known as Denommus
Mercuria1Alchemi has quit [Ping timeout: 260 seconds]
<mengu> adnotamentum: opam is a package manager for ocaml
<mengu> so it'd be handy to have it
orbifx has joined #ocaml
<adnotamentum> Yes, but this coursework has to compile and run on a lecturer's computer so I'm not sure using libraries is a great idea
AlexDeni_ has joined #ocaml
AlexDenisov has quit [Read error: Connection reset by peer]
fredcy has quit [Quit: ZNC - http://znc.in]
mengu_ has joined #ocaml
<mengu_> adnotamentum: then you should just use String.split_on_char
mengu has quit [Ping timeout: 246 seconds]
fredcy has joined #ocaml
MercurialAlchemi has joined #ocaml
<tautologico> if ocaml in the lecturer's computer is not updated though...
Simn has joined #ocaml
<tautologico> this is the implementation, it calls other functions from the string module (it should work by opening String before)
<adnotamentum> problem Im trying to solve is converting a string representation of a list into an actual list
<adnotamentum> i.e. "s,s,s,s,s" --> [s;s;s;s;s]
<adnotamentum> Split seems quite necessary
<adnotamentum> Thanks tautologico! I did it by copying and pasting from that github ^-^
AlexDenisov has joined #ocaml
AlexDeni_ has quit [Read error: Connection reset by peer]
jao has quit [Ping timeout: 268 seconds]
spew has joined #ocaml
_andre has quit [Quit: leaving]
zv has quit [Ping timeout: 240 seconds]
ollehar has joined #ocaml
mengu has joined #ocaml
mengu_ has quit [Ping timeout: 260 seconds]
snowcrshd has quit [Ping timeout: 260 seconds]
fredcy has quit [Quit: ZNC - http://znc.in]
seangrove has quit [Ping timeout: 260 seconds]
zv has joined #ocaml
fredcy has joined #ocaml
kakadu has joined #ocaml
octachron has quit [Quit: Leaving]
<ollehar> hm, why isn't syntastic run for ml files?
<ollehar> in neovi
<ollehar> m
<ollehar> ach
larhat has joined #ocaml
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AlexDenisov has joined #ocaml
AlexDenisov has quit [Client Quit]
AlexDenisov has joined #ocaml
AlexDenisov has quit [Client Quit]
AlexDenisov has joined #ocaml
AlexDenisov has quit [Client Quit]
AlexDenisov has joined #ocaml
AlexDenisov has quit [Client Quit]
AlexDenisov has joined #ocaml
AlexDenisov has quit [Client Quit]
averell has joined #ocaml
wtetzner has quit [Remote host closed the connection]
jlongster has joined #ocaml
mfp_ is now known as mfp
ollehar has quit [Quit: ollehar]
wtetzner has joined #ocaml
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hannes> I struggle with ocaml 4.04: man ocamlopt does not list `-color` at all (but `-keep-locs` twice with different docstrings).
argent_smith has quit [Quit: Leaving.]
<hannes> furthermore, only "color(always)" has any effect in my _tags, color(auto) does not work at all.. any idea?
<companion_cube> well, auto will not use colors because the compiler is invoked by ocamlbuild
<companion_cube> therefore, outside a tty
<hannes> companion_cube: ic... that's pretty sad :(
<companion_cube> why? just use color(always)
<hannes> companion_cube: vim people complain about some of their scripts not coping with colored output
<companion_cube> does it work with gcc or clang output?
<hannes> dunno, don't have vim.
<hannes> https://github.com/mirage/mirage/issues/797 in case you're interested
<hannes> (yes, I added color(always) ;)
<companion_cube> I see
<companion_cube> the problem is that ocamlbuild itself should decided whether to enable colors :/
<hannes> companion_cube: shouldn't integration of sth similar to https://github.com/hannesm/conex/blob/master/app/conex_verify_openssl.ml#L72-L79 into ocamlbuild do the trick?
Denommus has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<companion_cube> well the mechanism inside ocamlc looks like this
<companion_cube> and yes, it would do the trick
<companion_cube> but you'd need to contriute to ocamlbuild ;)
<companion_cube> cause I don't have the motivation for that now…
g0d355__ has quit [Remote host closed the connection]
<orbifx> what should I read about "row types"?
<companion_cube> papers? :p
<orbifx> any recommendations? Introductory level
<companion_cube> try to read stuff about Elm (the prog language, it has a blog)
jabroney1 has quit [Quit: Leaving.]
jnavila has quit [Remote host closed the connection]
Simn has quit [Read error: Connection reset by peer]
kakadu has quit [Remote host closed the connection]
<orbifx> not_found expeption companion_cube :P
<companion_cube> to get the idea
<orbifx> so wait, records are row types?
<companion_cube> in elm, yes
<companion_cube> they are typed with row types
<companion_cube> in OCaml, it's objects
<orbifx> ok I need something more than that cause that doesn't shine on the difference
spew has quit [Quit: foobar]
agarwal1975 has quit [Quit: agarwal1975]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
maattdd has joined #ocaml
spew has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 256 seconds]
larhat has quit [Quit: Leaving.]
<orbifx> thanks tautologico
adnotamentum has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<mrgrieves> hi, what are my options to browse the documentation (i.e. standard lib) from the cli?
<lyxia> man
<mengu> heh
<mengu> just discovered pattern as label
<companion_cube> mengu: ocp-browser
<companion_cube> mrgrieves:*
orbifx has quit [Ping timeout: 240 seconds]
<mrgrieves> companion_cube: perfect! thanks
tane has quit [Quit: Leaving]