companion_cube changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.05.0 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.05/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
enterprisey has joined #ocaml
sh0t has quit [Remote host closed the connection]
lyxia has joined #ocaml
itPuffin|osxB has joined #ocaml
BitPuffin|osx has quit [Ping timeout: 248 seconds]
Soni has joined #ocaml
mfp__ has quit [Ping timeout: 246 seconds]
cbot has joined #ocaml
Guest85471 has joined #ocaml
Guest85471 is now known as Algebr
Denommus` has joined #ocaml
Denommus has quit [Ping timeout: 255 seconds]
Algebr has quit [Ping timeout: 255 seconds]
Algebr has joined #ocaml
enterprisey has quit [Quit: Leaving]
Algebr` has joined #ocaml
Algebr has quit [Read error: Connection reset by peer]
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
theblatte has quit [Ping timeout: 252 seconds]
sgnb has quit [Ping timeout: 252 seconds]
theblatte has joined #ocaml
sgnb has joined #ocaml
cbot has quit [Ping timeout: 240 seconds]
pierpa has quit [Quit: Page closed]
eh_eff has joined #ocaml
eh_eff has quit [Ping timeout: 252 seconds]
samrat has joined #ocaml
govg has joined #ocaml
nous1024 has left #ocaml [#ocaml]
Denommus` has quit [Ping timeout: 252 seconds]
cbot has joined #ocaml
ryanartecona_ has joined #ocaml
_whitelogger has joined #ocaml
mbuf has joined #ocaml
kalio has quit [Ping timeout: 240 seconds]
kalio has joined #ocaml
ryanartecona_ is now known as ryanartecona
xpinguin has quit [Remote host closed the connection]
xpinguin has joined #ocaml
MercurialAlchemi has joined #ocaml
Simn has joined #ocaml
ygrek has joined #ocaml
infinity0_ has joined #ocaml
infinity0 is now known as Guest59694
infinity0_ has quit [Changing host]
infinity0_ has joined #ocaml
Guest59694 has quit [Killed (tolkien.freenode.net (Nickname regained by services))]
infinity0_ is now known as infinity0
cbot has quit [Ping timeout: 252 seconds]
al-damiri has quit [Quit: Connection closed for inactivity]
eh_eff has joined #ocaml
enterprisey has joined #ocaml
eh_eff has quit [Ping timeout: 248 seconds]
xpinguin_ has joined #ocaml
AltGr has joined #ocaml
xpinguin has quit [Ping timeout: 248 seconds]
igstan has joined #ocaml
igstan has quit [Client Quit]
enterprisey has quit [Remote host closed the connection]
jimmyrcom_ has quit [Ping timeout: 260 seconds]
Algebr` has quit [Ping timeout: 248 seconds]
TheLemonMan has joined #ocaml
pigeonv has joined #ocaml
Sim_n has joined #ocaml
Simn has quit [Ping timeout: 240 seconds]
TarVanimelde has joined #ocaml
argent_smith has joined #ocaml
sz0 has joined #ocaml
mfp__ has joined #ocaml
dhil has joined #ocaml
dhil has quit [Ping timeout: 240 seconds]
igstan has joined #ocaml
igstan has quit [Client Quit]
kakadu has joined #ocaml
ziyourenxiang has joined #ocaml
copy_ has joined #ocaml
TarVanimelde has quit [Quit: TarVanimelde]
TarVanimelde has joined #ocaml
<orbifx[m]> Are GADTs mostly a compiler feature? Cause for now they seem to me like Variants
<orbifx[m]> Can GADTs do something variants can't?
dhil has joined #ocaml
samrat has quit [Ping timeout: 260 seconds]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
<Drup> I'm not sure what a "compiler feature" is
xpinguin_ has quit [Read error: Connection reset by peer]
xpinguin_ has joined #ocaml
sz0 has quit [Quit: Connection closed for inactivity]
<flux> everything is a compiler feature ;-), but if you mean if they have anything remaining over variants at runtime: no
<flux> but gadts can express things safely variants cannot
eh_eff has joined #ocaml
eh_eff has quit [Ping timeout: 248 seconds]
ygrek has quit [Ping timeout: 240 seconds]
_andre has joined #ocaml
itPuffin|osxB has quit [Ping timeout: 240 seconds]
ShalokShalom_ has joined #ocaml
ShalokShalom has quit [Ping timeout: 240 seconds]
andreas__ has quit [Quit: Connection closed for inactivity]
samrat_ has joined #ocaml
nicoo has quit [Write error: Connection reset by peer]
shakalaka has quit [Ping timeout: 240 seconds]
shakalaka has joined #ocaml
andreas__ has joined #ocaml
nicoo has joined #ocaml
dhil has quit [Ping timeout: 248 seconds]
ShalokShalom_ is now known as ShalokShalom
eh_eff has joined #ocaml
eh_eff has quit [Ping timeout: 240 seconds]
TheLemonMan has joined #ocaml
sh0t has joined #ocaml
mbuf has quit [Quit: Later]
dhil has joined #ocaml
<orbifx[m]> Is there an article explaining this difference? The ones I have read don't seem to highlight the difference enough. I may have not faced a problem clearly enough to understand the usefulness of this solution
<kakadu> orbifx[m]: The classical example is to implement expression language with ints, bools, some operations over this types and an if_ construction that takes something that takes _only_ bool and not int
<orbifx[m]> Ok, that already made the point I think. So a variant wouldn't be able to tell the compiler to reject that, but a gadt can?
<kakadu> yrp
<kakadu> yep
<orbifx[m]> OK thanks :)
MercurialAlchemi has quit [Ping timeout: 240 seconds]
jbrown has quit [Quit: Leaving]
malc_ has joined #ocaml
al-damiri has joined #ocaml
bsima has joined #ocaml
Ragora has quit [Read error: Connection reset by peer]
Ragora has joined #ocaml
xpinguin_ has quit [Remote host closed the connection]
xpinguin_ has joined #ocaml
xpinguin_ has quit [Remote host closed the connection]
xpinguin_ has joined #ocaml
<etchasaurus> I'm trying to debug an issue in library (camlpdf) but when I try to use ocamldebug it can't find the source file. I've tried using the 'directory' command as well as specifying 'directory x with camlpdf'. Is there a way to load the symbols/source for a library/package that gets linked against a bytecode executable?
Ragora has quit [Quit: Konversation terminated!]
Ragora has joined #ocaml
<etchasaurus> From what I can tell, the library gets built with '-g' flag so I think it has symbol ifnormation
dhil has quit [Ping timeout: 246 seconds]
dhil has joined #ocaml
dmi3y has joined #ocaml
mbuf has joined #ocaml
mbuf has quit [Excess Flood]
aciniglio has joined #ocaml
bsima has quit [Quit: Bye!]
xpinguin_ has quit [Remote host closed the connection]
mbuf has joined #ocaml
mbuf has quit [Excess Flood]
bsima has joined #ocaml
xpinguin_ has joined #ocaml
mbuf has joined #ocaml
Ragora has quit [Quit: Konversation terminated!]
FreeBirdLjj has joined #ocaml
xpinguin_ has quit [Remote host closed the connection]
jbrown has joined #ocaml
xpinguin_ has joined #ocaml
xpinguin_ has quit [Remote host closed the connection]
xpinguin_ has joined #ocaml
aantron_ has joined #ocaml
xpinguin_ has quit [Remote host closed the connection]
xpinguin_ has joined #ocaml
<aantron_> Drup: the fast/safe list map is written up: https://discuss.ocaml.org/t/a-new-list-map-that-is-both-stack-safe-and-fast/865
xpinguin_ has quit [Remote host closed the connection]
xpinguin_ has joined #ocaml
nullifidian_ has joined #ocaml
nullifidian has quit [Ping timeout: 240 seconds]
<Drup> Yes, I see that you are procrastinating actively :D
xpinguin_ has quit [Read error: Connection reset by peer]
<aantron_> i dont know which is the procrastination, the article, or what else i should be doing :p
<theblatte> cool stuff
MercurialAlchemi has joined #ocaml
<aantron_> :)
<malc_> aantron_: have you measured List.rev_map?
MercurialAlchemi has quit [Remote host closed the connection]
<Drup> well, the naive implementation of List.rev_map is already tail-rec, there is less to do
nicoo has quit [Ping timeout: 248 seconds]
nicoo has joined #ocaml
rpcope has quit [Ping timeout: 240 seconds]
dmi3y has quit [Quit: dmi3y]
dmi3y has joined #ocaml
<aantron_> malc_: not alone, just List.rev @ List.rev_map
<aantron_> i'll add it to a list of stuff i should have done, and ill welcome PRs to the repo if you'd like to add it :)
dmi3y has quit [Quit: dmi3y]
<smondet[m]> it'd be interesting to see how much code out there makes the assumption about the order of evaluation of List.map
aantron_ has quit [Remote host closed the connection]
aciniglio has quit [Ping timeout: 264 seconds]
aantron_ has joined #ocaml
aciniglio has joined #ocaml
<aantron_> smondet[m]: not even sure how to go about that.. but yes it would be interesting to know. im pretty sure i've written code like this on many occasions, mostly while debugging
rpcope has joined #ocaml
<Drup> IIRC, gasche made mesurement about that
<Drup> he wanted to change it, at some point
<smondet[m]> Drup: do you know how? seems hard to detect: List.map + order-dependent side-effects
<Drup> hmm, run all the tests for each opam package, something like that
<aantron_> hum, any idea why gasche wanted to change it? sounds intriguing
<Drup> I don't remember
eh_eff has joined #ocaml
<flux> so no ppx_deriving_yojson for 4.05.0. is there an alternative?
pigeonv has quit [Ping timeout: 240 seconds]
<flux> oh and there is also some core-breakage with the package according to my lastlog
<flux> but I reaally wouldn't like to hand-write the conversion functions for this api ;)
<flux> I guess 4.04.2 it is for the time being
eh_eff has quit [Ping timeout: 264 seconds]
troydm has quit [Ping timeout: 246 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
eh_eff has joined #ocaml
troydm has joined #ocaml
troydm has quit [Ping timeout: 240 seconds]
troydm has joined #ocaml
dejanr has quit []
andreas__ has quit [Quit: Connection closed for inactivity]
dejanr has joined #ocaml
aciniglio has quit [Ping timeout: 240 seconds]
KV__ has joined #ocaml
jbrown has quit [Quit: Leaving]
Algebr` has joined #ocaml
mbuf has quit [Quit: Leaving]
mbuf has joined #ocaml
mbuf has quit [Excess Flood]
KV__ has quit [Quit: leaving]
aantron_ has quit [Remote host closed the connection]
aantron_ has joined #ocaml
kakadu has quit [Quit: Konversation terminated!]
andreas__ has joined #ocaml
dhil has quit [Ping timeout: 264 seconds]
nullifidian_ is now known as nullifidian
nior has joined #ocaml
Ragora has joined #ocaml
sh0t has quit [Ping timeout: 255 seconds]
Ragora has quit [Read error: Connection reset by peer]
sh0t has joined #ocaml
kakadu has joined #ocaml
kakadu_ has joined #ocaml
KV__ has joined #ocaml
kakadu has quit [Ping timeout: 246 seconds]
jbrown has joined #ocaml
Ragora has joined #ocaml
eh_eff has quit [Ping timeout: 248 seconds]
Ragora has quit [Remote host closed the connection]
pierpa has joined #ocaml
kmicinski has joined #ocaml
<kmicinski> Has anyone compiled Z3 for ocaml recently on a mac?
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
<kmicinski> I keep getting: `error: invalid argument '-std=c++11' not allowed with 'C/ObjC'`
bacam has quit [Quit: reboot]
<kmicinski> but this is from the ocaml extensions for Z3, hence why I ask here
<zv> are you explicitly enabling the ocaml api?
<zv> also, what's your tip ref?
<kmicinski> yes, using python/mk_make.py --ml
<kmicinski> I'm on the most recent head, f5db69529ae915efea5174d4190f59e107c9d5a6
bacam has joined #ocaml
<zv> and that's coming from the python build process or the make afterwards?
<kmicinski> the make afterwards
<zv> set your CC manually would be my guess
<kmicinski> Yup, that worked. I removed -std=c++11 from `config.mk`
<kmicinski> Thanks, @zv!
kmicinski has quit [Quit: Lost terminal]
nior has quit [Quit: /thread]
aantron_ has quit [Remote host closed the connection]
aantron_ has joined #ocaml
samrat_ has quit [Ping timeout: 255 seconds]
poindontcare has left #ocaml ["ERC (IRC client for Emacs 26.0.50)"]
KV__ has quit [Quit: leaving]
_andre has quit [Quit: leaving]
enterprisey has joined #ocaml
jbrown has quit [Quit: Leaving]
eh_eff has joined #ocaml
dmi3y has joined #ocaml
Ragora has joined #ocaml
dmi3y has quit [Quit: dmi3y]
AltGr has left #ocaml [#ocaml]
_whitelogger has joined #ocaml
dejanr has quit [Ping timeout: 240 seconds]
rjungemann has joined #ocaml
mattg has joined #ocaml
jmct has joined #ocaml
dejanr has joined #ocaml
sveit has joined #ocaml
jao has joined #ocaml
cschneid_ has joined #ocaml
jyc has joined #ocaml
terrorjack has joined #ocaml
fluter has joined #ocaml
rbocquet has joined #ocaml
mengu has joined #ocaml
jimmyrcom_ has joined #ocaml
cbot has joined #ocaml
aantron_ has quit [Remote host closed the connection]
aantron_ has joined #ocaml
argent_smith has quit [Quit: Leaving.]
enterprisey has quit [Ping timeout: 255 seconds]
malc_ has quit [Quit: ERC (IRC client for Emacs 25.0.50.2)]
andreas__ has quit [Quit: Connection closed for inactivity]
antkong has joined #ocaml
sh0t has quit [Remote host closed the connection]
govg has quit [Ping timeout: 264 seconds]
pierpa has quit [Quit: Page closed]
Sim_n has quit [Quit: Leaving]
kakadu_ has quit [Remote host closed the connection]
jimmyrcom_ has quit [Remote host closed the connection]
ziyourenxiang has quit [Ping timeout: 264 seconds]
mengu_ has joined #ocaml
mengu has quit [Read error: Connection reset by peer]
adi_____ has joined #ocaml
mankyKitty has joined #ocaml
demonimin has quit [Ping timeout: 240 seconds]
demonimin has joined #ocaml
enterprisey has joined #ocaml
cbot_ has joined #ocaml
cbot has quit [Ping timeout: 248 seconds]