adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.07.0 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.07/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml | Due to ongoing spam, you must register your nickname to talk on the channel
<discord> <rizo> Or even better: ppx_blob
<companion_cube> ppx_blob indeed
<companion_cube> or, old school ocamlify
<companion_cube> _y: you still use oasis? :o
<_y> companion_cube, in fact, i just started :p
<companion_cube> hmm why not use dune?
<companion_cube> now that people finally agreed on a common system
<_y> the main reason why i choosed oasis over dune is that Github was down during the 10 minutes when i had to make a decision
<_y> and every single resource about dune was inaccessible
<_y> apart from that, no reason since i know none :o
wagle has joined #ocaml
<_y> companion_cube, you mean, there has been a community decision that dune becomes sort of official and that everyone shifts to it?
<Drup> _y: Yes.
<companion_cube> maybe not 'decision', but a kind of general consensus, yes
<companion_cube> besides, oasis was very useful for a time, but its code generation is… ugly
<_y> :-)
<_y> well then, i am ready to forget the few that i just learned of oasis and switch to dune
<companion_cube> \o/
<_y> but it’d better have a feature for build-time code generation ^^
<_y> aaaaah
<_y> the meaning of “dune” just hit me
<_y> i prefer oasises
thomas_scrace has joined #ocaml
<companion_cube> yeah, there's stuff for code generation, don't worry
<companion_cube> it's even the best way to configure flags right now
<companion_cube> (call an OCaml script that generates a file to include)
thomas_scrace has quit [Ping timeout: 272 seconds]
gtrak has joined #ocaml
Haudegen has quit [Remote host closed the connection]
neatonk has joined #ocaml
Guest78852 has quit [Ping timeout: 252 seconds]
vodkaInferno has quit [Quit: leaving]
vodkaInferno has joined #ocaml
RustyJ10 has joined #ocaml
malina has joined #ocaml
RustyJ10 has quit [Remote host closed the connection]
gtrak has quit [Ping timeout: 268 seconds]
pierpa has quit [Quit: Page closed]
silver has quit [Quit: rakede]
tormen_ has joined #ocaml
tormen has quit [Ping timeout: 272 seconds]
kalio has quit [Quit: WeeChat 2.2]
kalio has joined #ocaml
|jbrown| has quit [Ping timeout: 272 seconds]
sz0 has joined #ocaml
mfp has quit [Ping timeout: 244 seconds]
thomas_scrace has joined #ocaml
thomas_scrace has quit [Ping timeout: 252 seconds]
ziyourenxiang has quit [Ping timeout: 268 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Read error: Connection reset by peer]
FreeBirdLjj has joined #ocaml
sz0 has quit [Quit: Connection closed for inactivity]
secondwtq has joined #ocaml
thomas_scrace has joined #ocaml
thomas_scrace has quit [Ping timeout: 272 seconds]
leastbit has joined #ocaml
leastbit has quit [Excess Flood]
leastbit has joined #ocaml
leastbit has quit [Excess Flood]
leastbit has joined #ocaml
leastbit has quit [Excess Flood]
leastbit has joined #ocaml
leastbit has quit [Excess Flood]
caltelt has quit [Ping timeout: 264 seconds]
ziyourenxiang has joined #ocaml
thomas_scrace has joined #ocaml
thomas_scrace has quit [Ping timeout: 272 seconds]
cobreadmonster has quit [Quit: Connection closed for inactivity]
jnavila has joined #ocaml
jnavila has quit [Ping timeout: 252 seconds]
bartholin has joined #ocaml
AltGr has joined #ocaml
thomas_scrace has joined #ocaml
thomas_scrace has quit [Ping timeout: 264 seconds]
orbifx1 has joined #ocaml
secondwtq is now known as ftlight
kakadu has joined #ocaml
jnavila has joined #ocaml
nullifidian has quit [Read error: Connection reset by peer]
nullifidian_ has joined #ocaml
jnavila has quit [Ping timeout: 252 seconds]
malina has quit [Ping timeout: 272 seconds]
thomas_scrace has joined #ocaml
bezirg has joined #ocaml
<discord> <rgrinberg> There's now the env stanza. I would say that is preferred.
<discord> <rgrinberg> I kind of miss Oasis. It felt like such an accomplishment to tinker and do something with it
<discord> <rgrinberg> There's far less fun in dune in that sense.
orbifx1 has quit [Read error: Connection reset by peer]
orbifx1 has joined #ocaml
nullifidian_ is now known as nullifidian
<Drup> @rgrinberg Add an OCaml configuration API
<Drup> Everyone will start writing plugins for their pet thing, the fun will be back \o/
<reynir> heh
void_pointer has joined #ocaml
mfp has joined #ocaml
Asmadeus has quit [Ping timeout: 240 seconds]
Asmadeus has joined #ocaml
Haudegen has joined #ocaml
orbifx1 has quit [Ping timeout: 252 seconds]
thomas_scrace has quit [Ping timeout: 268 seconds]
slash^ has joined #ocaml
bezirg has quit [Remote host closed the connection]
thomas_scrace has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 252 seconds]
FreeBirdLjj has joined #ocaml
jao has joined #ocaml
malina has joined #ocaml
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
malina has quit [Ping timeout: 268 seconds]
_whitelogger has joined #ocaml
void_pointer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
quipa has joined #ocaml
<flux[m]> how nice that some libs refer to "use odig to access docs" regarding their documentation, I had forgotten that it was ever announced
<Drup> It wasn't :D
<flux[m]> hmm :)
<flux[m]> also this is quite fun: okular =(dot -Tps =(odig graph cmi-deps cmdliner)) (with zsh)
<flux[m]> now try the same with "utop"
<flux[m]> doesn't do reverse deps though, I guess that could be useful at times
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
leastbit has joined #ocaml
leastbit has quit [Excess Flood]
leastbit has joined #ocaml
leastbit has quit [Excess Flood]
leastbit has joined #ocaml
leastbit has quit [Excess Flood]
leastbit has joined #ocaml
orbifx1 has joined #ocaml
leastbit has quit [Client Quit]
quipa has quit [Ping timeout: 244 seconds]
quipa has joined #ocaml
quipa has quit [Remote host closed the connection]
leastbit has joined #ocaml
leastbit has quit [Excess Flood]
jnavila has joined #ocaml
<Drup> flux[m]: that is super neat
slash^ has quit [Quit: Leaving]
<_y> so, what does it take to rename an opam switch manually?
<_y> is renaming ~/.opam/my_switch/ and updating ~/.opam/aliases enough?
<_y> also removing ~/.opam/state.cache, perhaps
orbifx1 has quit [Read error: Connection reset by peer]
orbifx1 has joined #ocaml
malina has joined #ocaml
orbifx1 has quit [Read error: Connection reset by peer]
silver has joined #ocaml
orbifx1 has joined #ocaml
malina has quit [Ping timeout: 252 seconds]
<flux[m]> I think it could be impossible.. are the absolute paths not baked into some binaries?
Richard_Cavell21 has joined #ocaml
<discord> <struktured> _y: i'd try another approach. opam is a very "stateful" local repository
<_y> flux[m], tests show you are correct, but it can be circumvented with a symbolic link ~/.opam/old_name → ~/.opam/new_name
Richard_Cavell21 has quit [Remote host closed the connection]
<_y> not terrible, but well
pierpal has quit [Remote host closed the connection]
Jesin has quit [Quit: Leaving]
AltGr has quit [Remote host closed the connection]
<flux[m]> is cmdtui the way to go for a shell cli in OCaml?
<flux[m]> I need a way to asynchronously send messages to the interface, cmdtui doesn't do that out-of-the-box but I guess I can just modify it.
FreeBirdLjj has quit [Remote host closed the connection]
steenuil has joined #ocaml
<flux[m]> I wonder if just using cmdtui instead of lambda term's readline functionality is a distraction..
_whitelogger has joined #ocaml
neatonk has quit [Ping timeout: 244 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
Pidgeotto has joined #ocaml
orbifx1 has quit [Ping timeout: 252 seconds]
Pidgeotto has quit [Remote host closed the connection]
ia0 has quit [Quit: reboot]
ia0 has joined #ocaml
ski has quit [Ping timeout: 252 seconds]
ski has joined #ocaml
neatonk has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
kakadu has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 268 seconds]
ziyourenxiang has quit [Ping timeout: 252 seconds]
caltelt has joined #ocaml
neatonk has quit [Ping timeout: 276 seconds]
FreeBirdLjj has joined #ocaml
<reynir> _y: if you're patient then opam switch export/import hsould work too
neatonk has joined #ocaml
<_y> reynir, patient and lucky, right?
<reynir> no, I don't think you should have to be lucky
<_y> i mean, it’s for a 4-year-old switch, even with explicit version numbers i would be damned if building everything just worked
<_y> but maybe i learned to be too pessimistic about computers
<reynir> Oh
<reynir> yea well maybe after 4 years...
Ulrar has quit [Ping timeout: 260 seconds]
quipa has joined #ocaml
wagle has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Haudegen has quit [Remote host closed the connection]
Ulrar has joined #ocaml
jnavila has quit [Ping timeout: 252 seconds]
neatonk has quit [Ping timeout: 272 seconds]
Ulrar has quit [Ping timeout: 252 seconds]
<_y> how warning 59 (“Assignment on non-mutable value”) can be triggered?
<reynir> that's a very interesting warning :o
<reynir> maybe it's when you use something from Obj
Guest78804 has joined #ocaml
wagle has joined #ocaml
wagle has quit [Remote host closed the connection]
Guest78804 has quit [Read error: Connection reset by peer]
|jbrown| has joined #ocaml
Guest68173 has joined #ocaml
Guest68173 has quit [Remote host closed the connection]
thomas_scrace has quit [Ping timeout: 244 seconds]
thomas_scrace has joined #ocaml
<flux[m]> I guess you could grep the compiler source.. Can PPX's emit warnings, perhaps it's for them?
neatonk has joined #ocaml
<flux[m]> it indeed is for Obj.magic. seems kinda pointless though :-), but I guess it came free with flambda.
<flux[m]> quite interesting really
gre has joined #ocaml
<_y> urgh
neatonk has quit [Ping timeout: 264 seconds]
thomas_scrace has quit [Ping timeout: 244 seconds]
thomas_scrace has joined #ocaml
jnavila has joined #ocaml
quipa has quit [Quit: Leaving]
thomas_scrace has quit [Ping timeout: 252 seconds]
thomas_scrace has joined #ocaml
orbifx1 has joined #ocaml
safinaskar has joined #ocaml
|jbrown| has quit [Ping timeout: 252 seconds]
tautologico has joined #ocaml
thomas_scrace has quit [Ping timeout: 268 seconds]
thomas_scrace has joined #ocaml
orbifx1 has quit [Ping timeout: 244 seconds]
loli has quit [Quit: WeeChat 2.2]
loli has joined #ocaml
orbifx1 has joined #ocaml
safinaskar has left #ocaml [#ocaml]
pierpa has joined #ocaml
neatonk has joined #ocaml
neatonk has quit [Client Quit]
loli has quit [Quit: WeeChat 2.2]
orbifx1 has quit [Read error: Connection reset by peer]
nullifidian_ has joined #ocaml
orbifx1 has joined #ocaml
nullifidian has quit [Ping timeout: 244 seconds]
thomas_scrace has quit [Ping timeout: 272 seconds]
thomas_scrace has joined #ocaml
thomas_scrace has quit [Ping timeout: 268 seconds]
thomas_scrace has joined #ocaml
orbifx1 has quit [Ping timeout: 252 seconds]
orbifx1 has joined #ocaml
orbifx1 has quit [Ping timeout: 272 seconds]
jnavila has quit [Remote host closed the connection]
bartholin has quit [Remote host closed the connection]
<_y> https://github.com/ocaml/odoc/issues/102 are we only two on Earth to absolutely hate the default odoc theme?
<Drup> _y: it has been change quite significantly since that issue
<_y> i don’t know what the changes were, but the criticisms stated there still hold to me with odoc 1.2.0 that i installed just today
<_y> by comparing the screenshot with what my fresh copy of odoc generates, i see no obvious difference except that the font is … smaller
<_y> MUCH smaller
<Drup> try the dev version
<_y> hmm… maybe the ridiculously small font was due to me having reduced my browser’s default size in some distant past, cannot remember
<_y> i just set it back to 16 (16 is the usual value, right?) and now it is pretty much the same as in the screenshot
<_y> cp ~/.opam/daily/doc/ocaml-manual/libref/style.css ~/.opam/daily/var/cache/odig/odoc.css -i
<_y> and i breath again ;-)
thomas_scrace has quit [Ping timeout: 272 seconds]
thomas_scrace has joined #ocaml
bezirg has joined #ocaml
quipa has joined #ocaml
thomas_scrace has quit [Ping timeout: 272 seconds]
bezirg has quit [Remote host closed the connection]
thomas_scrace has joined #ocaml
loli has joined #ocaml
thomas_scrace has quit [Ping timeout: 252 seconds]
thomas_scrace has joined #ocaml