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/
deadmarshal_ has joined #ocaml
waleee has quit [Ping timeout: 240 seconds]
waleee has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
waleee has quit [Ping timeout: 260 seconds]
waleee has joined #ocaml
waleee has quit [Ping timeout: 264 seconds]
waleee has joined #ocaml
amk has quit [Read error: Connection reset by peer]
amk has joined #ocaml
waleee has quit [Ping timeout: 248 seconds]
waleee has joined #ocaml
gdr3941 has joined #ocaml
<gdr3941> #help
szkl has joined #ocaml
gdr3941 has quit [Remote host closed the connection]
John_Ivan_ has quit [Ping timeout: 255 seconds]
edr has quit [Quit: Leaving]
<discocaml> <barconstruction> cube
gentauro has quit [Ping timeout: 255 seconds]
gentauro has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]
chrisz has quit [Ping timeout: 240 seconds]
chrisz has joined #ocaml
waleee has quit [Ping timeout: 255 seconds]
random-jellyfish has joined #ocaml
random-jellyfish has quit [Changing host]
random-jellyfish has joined #ocaml
hiddenman has quit [Remote host closed the connection]
leah2 has quit [Ping timeout: 258 seconds]
bartholin has joined #ocaml
bartholin has quit [Quit: Leaving]
noonien has quit [Quit: The Lounge - https://thelounge.chat]
noonien8 has joined #ocaml
random-jellyfish has quit [Ping timeout: 264 seconds]
jlrnick has joined #ocaml
xd1le has joined #ocaml
leah2 has joined #ocaml
random-jellyfish has joined #ocaml
random-jellyfish has joined #ocaml
random-jellyfish has quit [Changing host]
mro has joined #ocaml
jlrnick has quit [Remote host closed the connection]
bartholin has joined #ocaml
wingsorc has quit [Remote host closed the connection]
wingsorc has joined #ocaml
Brocoli_ is now known as Armael
gareppa has joined #ocaml
gareppa has quit [Client Quit]
Anarchos has joined #ocaml
Serpent7776 has joined #ocaml
dnh has joined #ocaml
jlrnick has joined #ocaml
jlrnick has quit [Ping timeout: 258 seconds]
wingsorc has quit [Ping timeout: 240 seconds]
mro has quit [Ping timeout: 255 seconds]
mro has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Anarchos has joined #ocaml
chrisz has quit [Quit: leaving]
dnh has quit [Quit: Textual IRC Client: www.textualapp.com]
dnh has joined #ocaml
motherfsck has quit [Ping timeout: 240 seconds]
motherfsck has joined #ocaml
motherfsck has quit [Ping timeout: 240 seconds]
motherfsck has joined #ocaml
jlrnick has joined #ocaml
serpent has joined #ocaml
Serpent7776 has quit [Ping timeout: 240 seconds]
serpent is now known as Serpent7776
CO2 has quit [Quit: WeeChat 4.1.1]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
John_Ivan_ has joined #ocaml
<greenbagels> what was the rationale for noth aving a tail recursive List.append until 5.1 again?
<greenbagels> was it because tail recursive functions dont offer a super great benefit for small lists, which people are likely to use more?
bartholin has quit [Ping timeout: 264 seconds]
<zozozo> greenbagels: the reason was that having a tail-rec List.append which is efficient was difficult without trmc
bartholin has joined #ocaml
CO2 has joined #ocaml
Anarchos has joined #ocaml
<Anarchos> CAn someone remind me what is the opam command to pin 'dune' to 'https://github.com/ocaml/dune#main' ?
kitzman has quit [Quit: C-x C-c]
kitzman has joined #ocaml
random-jellyfish has quit [Ping timeout: 264 seconds]
bartholin has quit [Ping timeout: 264 seconds]
bartholin has joined #ocaml
mro has quit [Ping timeout: 248 seconds]
waleee has joined #ocaml
waleee has quit [Quit: WeeChat 4.1.0]
TrillionEuroNote has quit [Ping timeout: 255 seconds]
TrillionEuroNote has joined #ocaml
TrillionEuroNote has quit [Ping timeout: 272 seconds]
<reynir> opam pin add dune git+https://github.com/ocaml/dune.git#main
<reynir> I think
<discocaml> <._null._> Something with --dev-repo to not spell the whole URL
<hannes> "opam pin add dune --dev" :)
<Anarchos> hannes it gives me dune is now pinned to git+https://github.com/ocaml/dune.git#main (version 3.10.0)
<Anarchos> i don't understand why it says 3.10.0
mro has joined #ocaml
<hannes> it takes the last known from your repositories (or if there's a "version: a.b" in the opam file, it uses that.
<hannes> you can as well say "opam pin dune.4.5.6 --dev" to tell opam "use 4.5.6 as version number"
cedric has joined #ocaml
cedric has quit [Client Quit]
<Anarchos> hannes i need to stay on main : the commit , to which i am interested in, is not present in no tag.
jlrnick has quit [Ping timeout: 240 seconds]
<discocaml> <deepspacejohn> @greenbagels the tail_mod_cons feature didn't exist until a 4.14 and was considered too experimental until 5.1 to use it in the stdlib. At least, that's my basic understanding.
<discocaml> <deepspacejohn> the performance characteristics are also different when you use it, although I'm not sure how significant they are.
ehrt74 has joined #ocaml
mro has quit [Ping timeout: 255 seconds]
mro has joined #ocaml
<ehrt74> hello, world :) just wanted to say that i've just discovered ocaml and am really enjoying it :D i've had no problems with installation (on linux) or configuring emacs and am now working through adventofcode :D
<companion_cube> nice :)
<discocaml> <._null._> Anarchos: the version registered to opam is (or can be) independent of the thing you're following in the pin
<discocaml> <axtr> could anyone suggest some project ideas that OCaml could lend itself to?
ehrt74 has quit [Ping timeout: 264 seconds]
random-jellyfish has joined #ocaml
dhil has joined #ocaml
Tuplanolla has joined #ocaml
waleee has joined #ocaml
random-jellyfish has quit [Ping timeout: 255 seconds]
random-jellyfish has joined #ocaml
random-jellyfish has joined #ocaml
random-jellyfish has quit [Changing host]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
mro has quit [Ping timeout: 240 seconds]
John_Ivan_ has quit [Quit: Disrupting the dragon's slumber one time too often shall eventually bestow upon all an empirical and indiscriminate conflagration that will last for all goddamn eternity.]
John_Ivan has joined #ocaml
mro has joined #ocaml
bartholin has quit [Ping timeout: 240 seconds]
bartholin has joined #ocaml
random-jellyfish has quit [Ping timeout: 240 seconds]
Anarchos has joined #ocaml
<greenbagels> zozozo, deepspacejohn, thanks for the insight; so the naive way to make `List.append xs ys` tail-recursive is to reverse xs, iterate through ys and prepend to the reversed xs (as an accumulator), and reverse the result, right?
<greenbagels> and the tail call modulo cons transformation lets you do a more efficient alternative, eh? i think ill dig up the implementation for this :p
bartholin has quit [Ping timeout: 248 seconds]
bartholin has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Anarchos has joined #ocaml
dhil has quit [Ping timeout: 245 seconds]
Serpent7776 has quit [Ping timeout: 264 seconds]
bartholin has quit [Quit: Leaving]
xd1le has quit [Quit: xd1le]
wingsorc has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
ohperitel has quit [Quit: ZNC 1.8.2 - https://znc.in]
ohperitel has joined #ocaml
mro has quit [Quit: Leaving]
motherfsck has quit [Quit: quit]