companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.0 released(!!1!): https://ocaml.org/releases/5.0.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
domq has quit [Ping timeout: 246 seconds]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cimento has joined #ocaml
domq has joined #ocaml
domq has quit [Ping timeout: 264 seconds]
chrisz has quit [Ping timeout: 246 seconds]
domq has joined #ocaml
domq has quit [Ping timeout: 252 seconds]
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
chrisz has joined #ocaml
domq has joined #ocaml
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
domq has quit [Ping timeout: 256 seconds]
domq has joined #ocaml
cimento has quit [Quit: WeeChat 4.1.2]
slothby has joined #ocaml
sagax has quit [Quit: Konversation terminated!]
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
domq has quit [Ping timeout: 268 seconds]
trev has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]
domq has joined #ocaml
domq has quit [Ping timeout: 252 seconds]
cimento has joined #ocaml
rgrinberg has joined #ocaml
domq has joined #ocaml
domq has quit [Ping timeout: 255 seconds]
domq has joined #ocaml
pi3ce has joined #ocaml
domq has quit [Ping timeout: 268 seconds]
domq has joined #ocaml
domq has quit [Ping timeout: 256 seconds]
chrisz has quit [Ping timeout: 252 seconds]
waleee has quit [Ping timeout: 264 seconds]
edr has quit [Quit: Leaving]
chrisz has joined #ocaml
domq has joined #ocaml
domq has quit [Ping timeout: 255 seconds]
domq has joined #ocaml
domq has quit [Ping timeout: 245 seconds]
bartholin has joined #ocaml
wingsorc has quit [Quit: Leaving]
domq has joined #ocaml
domq has quit [Ping timeout: 268 seconds]
domq has joined #ocaml
domq has quit [Ping timeout: 268 seconds]
domq has joined #ocaml
dnaq has quit [Remote host closed the connection]
domq has quit [Ping timeout: 252 seconds]
dnaq has joined #ocaml
szkl has joined #ocaml
jsoo_ has quit [Quit: ZNC 1.8.2 - https://znc.in]
jsoo has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
motherfsck has quit [Ping timeout: 256 seconds]
Serpent7776 has joined #ocaml
motherfsck has joined #ocaml
domq has joined #ocaml
domq has quit [Ping timeout: 268 seconds]
domq has joined #ocaml
bartholin has quit [Quit: Leaving]
domq_ has joined #ocaml
domq has quit [Ping timeout: 276 seconds]
domq_ is now known as domq
average has joined #ocaml
domq has quit [Ping timeout: 264 seconds]
domq has joined #ocaml
alexherbo2 has joined #ocaml
dhil has joined #ocaml
dnh has joined #ocaml
domq has quit [Quit: domq]
domq has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
average has quit [Quit: Connection closed for inactivity]
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
troydm has joined #ocaml
trev has quit [Quit: trev]
trev has joined #ocaml
domq has quit [Quit: domq]
dhil has quit [Ping timeout: 268 seconds]
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
pi3ce has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
pi3ce has joined #ocaml
domq has joined #ocaml
domq has quit [Client Quit]
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
pi3ce has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
pi3ce has joined #ocaml
pi3ce has quit [Client Quit]
pi3ce has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
pi3ce has quit [Quit: No Ping reply in 180 seconds.]
pi3ce has joined #ocaml
edr has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]
dhil has joined #ocaml
azimut has quit [Ping timeout: 240 seconds]
azimut has joined #ocaml
ridcully_ has quit [Quit: WeeChat 4.1.1]
ridcully has joined #ocaml
szkl has joined #ocaml
chrisz has quit [Quit: leaving]
chrisz has joined #ocaml
<trev> what's the proper way to get around having slow inline_tests? ex. on my advent of code i have one lib module per day, and now it's getting slow to do `dune runtest` since it's running all those tests. at first i thought it was smart enough to determine if the tests should even be run by looking at file modifications or something, but it appears it doesn't
<trev> should i reorganize into having a dune file per day and have each day in a subdir off of /lib ?
midgard has left #ocaml [#ocaml]
azimut has quit [Ping timeout: 240 seconds]
<discocaml> <JM> I have a similar setup, and dune doesn't rerun old tests unless I run `dune clean`.
<discocaml> <JM> I'm guessing it's linked to me having caching enabled https://dune.readthedocs.io/en/stable/caching.html
<rage> dune won't rerun your tests if they had previously succeeded
<rage> you need to supply --force to make it rerun them
<trev> for some reason it is...
<companion_cube> oh we're already on 5.1.2?
<trev> actually nevermind it is not. i had a few tests that were failing. they are super simple, just checking `-1 = 1` so it's weird
<companion_cube> why do I see it in opam, seems like 5.1.1 is the latest…
<trev> i only see 5.1.1 on my opam
waleee has joined #ocaml
<companion_cube> ahh but wait, there's a change in %S right?
<trev> nevermind i see 5.1.2 after opam update
<trev> installing it now
<companion_cube> well it's a bit weird though?
<companion_cube> no announce that I can find
<companion_cube> https://ocaml.org/ latest release: 5.1.1
<greenbagels> > Consuming (a prefix of) the sequence cycle xs once can cause the sequence xs to be consumed more than once. Therefore, xs must be persistent.
<greenbagels> Reading about Seq.cycle; so does this mean the argument i give to cycle has to be a binding that exists as long as the return value of cycle?
<companion_cube> it means that the sequence you give to Seq.cycle must be traversable multiple times
<greenbagels> hmm
<greenbagels> so basically `let new_seq = make_seq () |> Seq.cycle` would be problematic if make_seq () returns a finite sequence?
ehrt74 has joined #ocaml
<greenbagels> i guess i dont see what would make a sequence not traversable multiple times; if the elements depends on side effects?
<companion_cube> yes, for example something coming from a file descriptor
<companion_cube> no `make_seq()` can return a finite sequence (otherwise cycle would be useless) but it'll be traversed many times
<greenbagels> Right; I guess my brain is still stuck thinking about scoping in C-like languages haha
<companion_cube> e.g. `let r=ref 0 in Seq.of_dispenser (fun () -> incr r; if !r > 10 then None else Some !r)`
<companion_cube> this is traversable only once
<greenbagels> companion_cube: oh also i guess they define what persistent means at the top of the module...
<greenbagels> oops
<greenbagels> thanks for answering despite that :p
<companion_cube> ... did I dream up changes to %S ???
<octachron> The last release is 5.1.1
<octachron> I don't remember any changes to %S ?
<companion_cube> or, I mean, string literals
<octachron> Ah https://github.com/ocaml/ocaml/pull/12514, but that will be in 5.2
<companion_cube> I'm wondering if the docker images might be pulling 5.2 by accident, if it's on opam
<companion_cube> hmmmm
<companion_cube> although that can't explain my issue anyway…
<companion_cube> it does seem that 5.1 + latest z3 fixes a memory issue we've had, for good, though 😍
Tuplanolla has joined #ocaml
bartholin has joined #ocaml
alexherbo2 has joined #ocaml
troydm has quit [Ping timeout: 260 seconds]
ehrt74 has quit [Ping timeout: 260 seconds]
pi3ce has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
pi3ce has joined #ocaml
dhil has quit [Quit: Leaving]
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
azimut has joined #ocaml
average has joined #ocaml
pi3ce has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
trev has quit [Quit: trev]
Serpent7776 has quit [Ping timeout: 260 seconds]
Anarchos has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]
bartholin has quit [Quit: Leaving]
Anarchos has quit [Read error: Connection reset by peer]
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
motherfsck has quit [Ping timeout: 268 seconds]
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
motherfsck has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]