adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.07.1 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
ygrek has quit [Ping timeout: 248 seconds]
Haudegen has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 258 seconds]
themsay has quit [Read error: Connection reset by peer]
jmsaunde has joined #ocaml
rks` has quit [Ping timeout: 258 seconds]
bacam has quit [Ping timeout: 258 seconds]
<jmsaunde> I've got a simple dune project set up and it seems to be building twice (byte/native) so I get duplicated warning messages. anybody know how to disable the bytecode build? I've drive adding '(modes (native exe))' to my executable
<jmsaunde> my build command is 'dune build src/foo.exe'
<oni-on-ion> hmm that is strange indeed. can you paste/post your dune ?
<oni-on-ion> its 'dune build ./_build/ac.exe' ?
<jmsaunde> I do 'dune build src/ac.exe'
<jmsaunde> 'dune build _build/default/src/ac.exe' seems to do the same thing, get duplicated warnings still
<oni-on-ion> was about to suggest that. (ive just now tried my project which has similar setup)
<oni-on-ion> perhaps menhir is doing things ?
<oni-on-ion> or the lexer statement? i've got neither of those
<oni-on-ion> i dont know them well enough to know if you need them in there or not, but could possibly cause double things
<jmsaunde> commented out the menhir portion and transplanted the .ml[i] files from the build dir and it still has the problem
<jmsaunde> possibly the lex rules doing some badness I guess
<jmsaunde> so I think most people don't see the warning duplication because they don't disable warnings being errors
<jmsaunde> so if you check out your _build/default/[dir]/.foo.eobjs/ dir, I wonder if you see both byte and native dirs
<jmsaunde> afaict it doesn't generate bytecode executables, just objects
<oni-on-ion> checking..
<oni-on-ion> hmm i've got both
<jmsaunde> :)
<oni-on-ion> but i've set up with utop/repl as well
<oni-on-ion> about to get into some code-reloading if possible
<jmsaunde> I should probably file a bug about this
<jmsaunde> it's kind of pointless work for incremental builds im
<jmsaunde> imo**
<oni-on-ion> i think so, too
FreeBirdLjj has joined #ocaml
AtumT has quit [Quit: AtumT]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
unyu has quit [Quit: ERC (IRC client for Emacs 26.2)]
unyu has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 245 seconds]
FreeBirdLjj has joined #ocaml
rks` has joined #ocaml
bacam has joined #ocaml
noddy has joined #ocaml
Jeanne-Kamikaze has joined #ocaml
mfp has quit [Ping timeout: 248 seconds]
noddy has quit [Ping timeout: 245 seconds]
jao has quit [Ping timeout: 248 seconds]
JimmyRcom has quit [Ping timeout: 248 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
_whitelogger has joined #ocaml
Gcf has quit [Read error: Connection reset by peer]
Gcf has joined #ocaml
Menche has quit [Excess Flood]
Menche has joined #ocaml
Menche has quit [Excess Flood]
Menche has joined #ocaml
Menche has quit [Excess Flood]
kalio has quit [Ping timeout: 245 seconds]
Menche has joined #ocaml
Menche has quit [Excess Flood]
Menche has joined #ocaml
Menche has quit [Excess Flood]
Menche has joined #ocaml
iovec has joined #ocaml
kalio has joined #ocaml
_whitelogger has joined #ocaml
Jeanne-Kamikaze has quit [Quit: Leaving]
nicoo has quit [Ping timeout: 256 seconds]
nicoo has joined #ocaml
narimiran has joined #ocaml
unyu has quit [Ping timeout: 259 seconds]
kakadu has joined #ocaml
delysin has quit [Ping timeout: 272 seconds]
ravenousmoose has joined #ocaml
ggole has joined #ocaml
rwmjones has quit [Ping timeout: 246 seconds]
rwmjones has joined #ocaml
jnavila has joined #ocaml
leah2 has quit [Ping timeout: 268 seconds]
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leah2 has joined #ocaml
Anarchos has joined #ocaml
kakadu has quit [Remote host closed the connection]
_whitelogger has joined #ocaml
ravenousmoose has joined #ocaml
mfp has joined #ocaml
Guest43013 has joined #ocaml
nicoo has quit [Remote host closed the connection]
nicoo has joined #ocaml
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
Redfoxmoon has quit [Ping timeout: 246 seconds]
Redfoxmoon has joined #ocaml
justanumber has joined #ocaml
Redfoxmoon has quit [Changing host]
Redfoxmoon has joined #ocaml
jao has joined #ocaml
justanumber has quit [Ping timeout: 258 seconds]
jao has quit [Ping timeout: 258 seconds]
Anarchos has joined #ocaml
justanumber has joined #ocaml
justanumber has quit [Ping timeout: 258 seconds]
gareppa has joined #ocaml
AtumT has joined #ocaml
_whitelogger has joined #ocaml
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
justanumber has joined #ocaml
_whitelogger has joined #ocaml
gareppa has quit [Quit: Leaving]
kark has joined #ocaml
_whitelogger has joined #ocaml
Guest43013 has quit [Ping timeout: 248 seconds]
JimmyRcom has joined #ocaml
jbrown has quit [Remote host closed the connection]
Jeanne-Kamikaze has joined #ocaml
AtumT has quit [Read error: Connection reset by peer]
AtumT has joined #ocaml
Haudegen has joined #ocaml
Jeanne-Kamikaze has quit [Quit: Leaving]
AtumT has quit [Read error: Connection reset by peer]
ygrek has joined #ocaml
AtumT has joined #ocaml
Jeanne-Kamikaze has joined #ocaml
ziyourenxiang has quit [Ping timeout: 246 seconds]
SpiceGuid has joined #ocaml
SpiceGuid has quit [Quit: ChatZilla 0.9.93 [SeaMonkey 2.49.4/20180713174829]]
Haudegen has quit [Ping timeout: 248 seconds]
gravicappa has joined #ocaml
Haudegen has joined #ocaml
tsenko has quit [Quit: leaving]
jnavila has quit [Remote host closed the connection]
jnavila has joined #ocaml
ygrek has quit [Ping timeout: 245 seconds]
AtumT has quit [Quit: AtumT]
AtumT has joined #ocaml
jnavila has quit [Ping timeout: 272 seconds]
noddy has joined #ocaml
AtumT has quit [Ping timeout: 248 seconds]
AtumT has joined #ocaml
unyu has joined #ocaml
AtumT has quit [Ping timeout: 245 seconds]
AtumT has joined #ocaml
AtumT has quit [Read error: Connection reset by peer]
AtumT has joined #ocaml
jao has joined #ocaml
jao has quit [Ping timeout: 248 seconds]
silver has joined #ocaml
delysin has joined #ocaml
jbrown has joined #ocaml
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jeanne-Kamikaze has quit [Quit: Leaving]
gareppa has joined #ocaml
gareppa has quit [Quit: Leaving]
jnavila has joined #ocaml
oni-on-ion has quit [Remote host closed the connection]
oni-on-ion has joined #ocaml
ggole has quit [Quit: Leaving]
ggole has joined #ocaml
gravicappa has quit [Ping timeout: 248 seconds]
kakadu has joined #ocaml
ravenousmoose has joined #ocaml
jbrown has quit [Remote host closed the connection]
<Leonidas> cemerick: I was hoping to eventually implement compare (same as equal) in Yojson but since there isn't really a natural order I omitted it for now.
<Leonidas> though probably having a stable compare even if the order is non-natural might be better than not having compare at all
ggole has quit [Quit: Leaving]
<cemerick> Leonidas: ofc, once you provide an ordering, code will end up relying on it
<cemerick> the workaround is easy enough (just duplicate the json type you care about + a deriving annotation)
<dmbaturin> Leonidas: You are maintaining Yojson now?
jnavila_ has joined #ocaml
jnavila has quit [Ping timeout: 245 seconds]
<Leonidas> dmbaturin: no, just contributing whenever I have time xor motivation
<Leonidas> s/xor/and/
<oni-on-ion> o_o
<Leonidas> in some way the type `t` deprecation debacle can be credited to my PR though
<Leonidas> cemerick: exactly. equality on json is already a bit wonky, because whatever you decide in the case of {"a": 23, "a": 42} will be wrong in some context
<dmbaturin> I wish that was always considered invalid JSON. ;)
jnavila_ has quit [Ping timeout: 246 seconds]
<Leonidas> Agreed. JSON parsing is a minefield, https://github.com/nst/JSONTestSuite
narimiran_ has joined #ocaml
narimiran has quit [Ping timeout: 258 seconds]
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
narimiran_ has quit [Ping timeout: 248 seconds]
jnavila_ has joined #ocaml
jnavila_ has quit [Ping timeout: 246 seconds]
kakadu has quit [Remote host closed the connection]
_whitelogger has joined #ocaml
Jesin has quit [Quit: Leaving]
Jesin has joined #ocaml
ziyourenxiang has joined #ocaml
iovec has quit [Quit: Connection closed for inactivity]