adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.09 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.09/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
mononote has quit [Quit: Gateway shutdown]
mononote has joined #ocaml
Ekho has quit [Ping timeout: 240 seconds]
ziyourenxiang has joined #ocaml
Hrundi_V_Bakshi has quit [Ping timeout: 268 seconds]
Haudegen has quit [Ping timeout: 268 seconds]
spew has quit [Quit: Connection closed for inactivity]
Ekho has joined #ocaml
brettgilio has joined #ocaml
unyu has joined #ocaml
silver has quit [Read error: Connection reset by peer]
mfp has quit [Ping timeout: 246 seconds]
tormen_ has joined #ocaml
tormen has quit [Ping timeout: 276 seconds]
andreas303 has quit [Read error: Connection reset by peer]
nicoo has quit [Read error: Connection reset by peer]
oxford has quit [Read error: Connection reset by peer]
klntsky has quit [Write error: Broken pipe]
nicoo has joined #ocaml
oxford has joined #ocaml
kakadu has quit [Ping timeout: 240 seconds]
andreas303 has joined #ocaml
kakadu_ has joined #ocaml
nullcone has joined #ocaml
klntsky has joined #ocaml
jao has quit [Remote host closed the connection]
jao has joined #ocaml
gravicappa has joined #ocaml
GeoffK has joined #ocaml
<GeoffK> Novice question - List.init seems to have disappeared when i upgrade to 4.09 from 4.06
<GeoffK> My libraries look to be from version 4.05 but ocaml is 4.09. Can they get out of date? opam update says "no changes from ..."
GeoffK has quit [Remote host closed the connection]
GeoffK has joined #ocaml
ggole has joined #ocaml
<GeoffK> ocaml (command line) has the 4.09 libs but utop doesn't. How did break my setup?
_whitelogger has joined #ocaml
<GeoffK> as far as i can - i have done the dance and it helped. but utop still dissappoints
<ggole> Did you install utop on the new switch?
<GeoffK> no maybe not
<GeoffK> brb
<GeoffK> Package utop is already installed (current version is 2.4.2).
<GeoffK> wait someting changed. let me do a bit more dancing.
<ggole> I was about to suggest comparing the reported OCaml versions of utop, ocamlc, etc
<GeoffK> i did a rebuild of utop just before and maybe i needed to do the eval.
<GeoffK> and now it works. wish i understood why it is working.
_whitelogger has joined #ocaml
vicfred has joined #ocaml
jao has quit [Ping timeout: 276 seconds]
GeoffK has quit [Quit: Leaving]
narimiran has joined #ocaml
dborisog has joined #ocaml
ohama has quit [Ping timeout: 240 seconds]
ohama has joined #ocaml
jcob has quit [*.net *.split]
lyxia has quit [*.net *.split]
hannes has quit [*.net *.split]
pepesza has quit [*.net *.split]
rixed has quit [*.net *.split]
jcob has joined #ocaml
lyxia has joined #ocaml
pepesza has joined #ocaml
hannes has joined #ocaml
rixed has joined #ocaml
FreeBirdLjj has joined #ocaml
mfp has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 245 seconds]
jnavila has joined #ocaml
eagleflo has joined #ocaml
narimiran has quit [Ping timeout: 265 seconds]
unyu has quit [Read error: Connection reset by peer]
unyu has joined #ocaml
jnavila has quit [Ping timeout: 246 seconds]
dmiles has quit [Read error: Connection reset by peer]
dmiles has joined #ocaml
silver has joined #ocaml
Haudegen has joined #ocaml
webshinra has joined #ocaml
jao has joined #ocaml
narimiran has joined #ocaml
FreeBirdLjj has joined #ocaml
tane has joined #ocaml
<narimiran> so, who will be doing Advent of Code? :)
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
<tane> narimiran, I might join for the first 7 exercises or so :D
<tane> after that they usually require too much time :)
<narimiran> tane: get your priorities straight :P
FreeBirdLjj has quit [Ping timeout: 240 seconds]
<tane> hehe, I have :|
<tane> I'm heavily coding each day, so more coding isn't exactly relaxing
<narimiran> but yeah, i expect first 6 days (until and including friday) to be quite easy, then next saturday it will probably be the first harder/longer task
<tane> last time I solved some exercises with a MIP solver
<tane> I'll see how far I can take it this time :)
<narimiran> what's that?
<tane> mixed integer programming solver
jao has quit [Read error: Connection reset by peer]
jao- has joined #ocaml
jao- has quit [Ping timeout: 265 seconds]
jao has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 252 seconds]
jao has quit [Ping timeout: 252 seconds]
jao- has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 276 seconds]
bartholin has quit [Ping timeout: 245 seconds]
bartholin has joined #ocaml
ziyourenxiang has quit [Ping timeout: 265 seconds]
mfp has quit [Ping timeout: 240 seconds]
jco has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
narimiran has quit [Quit: leaving]
<kakadu_> Do I understand right that `compiling pattern matching to good decision trees`(2007) is not landed to compiler? Why?
amiloradovsky has joined #ocaml
c4rc4s has quit [Remote host closed the connection]
c4rc4s has joined #ocaml
<Leonidas> companion_cube: I really would like to release the 4.03 fix but the macOS build seems to be completely hosed (I've reran it on multiple days). I'll discuss on Monday to see what to do about it.
jnavila has joined #ocaml
<dmbaturin> Leonidas: 4.03 fix of which package?
<Leonidas> dmbaturin: zmq
<dmbaturin> Ah.
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 245 seconds]
FreeBirdLjj has joined #ocaml
dborisog has quit [Ping timeout: 252 seconds]
FreeBirdLjj has quit [Ping timeout: 252 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
jnavila has quit [Ping timeout: 246 seconds]
FreeBirdLjj has joined #ocaml
kakadu_ has quit [Quit: Konversation terminated!]
jnavila has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 268 seconds]
FreeBirdLjj has joined #ocaml
jao- has quit [Remote host closed the connection]
FreeBirdLjj has quit [Ping timeout: 250 seconds]
mfp has joined #ocaml
jao has joined #ocaml
mfp has quit [Ping timeout: 245 seconds]
FreeBirdLjj has joined #ocaml
vicfred has quit [Quit: Leaving]
brettgilio has quit [Ping timeout: 276 seconds]
kakadu has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 250 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #ocaml
ggole has quit [Quit: Leaving]
FreeBirdLjj has quit [Ping timeout: 268 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 268 seconds]
Hrundi_V_Bakshi has joined #ocaml
jnavila has quit [Ping timeout: 276 seconds]
FreeBirdLjj has joined #ocaml
Jenz has joined #ocaml
andreas303 has quit [Remote host closed the connection]
FreeBirdLjj has quit [Ping timeout: 246 seconds]
<Jenz> Can anyone give me some hints on how to improve `validate_strands` in https://paste.sr.ht/~jenz/301d42d9d23d66652b8c3ab53f39247a2b4fddae
<Jenz> As is probably transparent I'm wholly new to OCaml, and frankly FP in general..
<tane> Jenz, is this for exercism? :)
andreas303 has joined #ocaml
<tane> Jenz, to do it from the ground up, without further libraries you may define a recursive function that moves along both lists at the same time, incrementing a value every time the current "heads" of the two lists differ. If one lists is empty while the other isn't you may return the appropriate error
FreeBirdLjj has joined #ocaml
<Jenz> tane: Yes haha
<Jenz> I've already submitted this, but more is more
<Jenz> tane: My initial thought was something along those lines, just not as neat; but I thought it'd be better to use some stdlib... anyways I'll give your method a go, thanks
<tane> well, your mentor may or may not comment on that
<tane> Jenz, I think on exercism it's also ok to work with "Base", but if you're a beginner, it may be better to roll things yourself
FreeBirdLjj has quit [Ping timeout: 240 seconds]
<Jenz> I'm having quite some trouble reading the type signatures for functions in the Base docs anyways haha
FreeBirdLjj has joined #ocaml
<Jenz> The language is amazing though, in my opinion
<tane> yeah, as I said, it's best to stick with the basics for a bit, then move on
<Jenz> Hence exercism.io, and I read this awfully slowly progressing course: https://www.cs.cornell.edu/courses/cs3110/2019sp/textbook/
gravicappa has quit [Ping timeout: 276 seconds]
<Jenz> Though I can't imagine much can go wrong by peeking a bit ahead, rather it gives me something to aim for
FreeBirdLjj has quit [Ping timeout: 268 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 245 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 276 seconds]
FreeBirdLjj has joined #ocaml
Jesin has quit [Quit: Leaving]
Jesin has joined #ocaml
<Jenz> What is wrong in this expression?: (fun [x::xs] -> x) [1; 2; 3;] ;;
<thizanne> Jenz: [x::xs] matches lists of lists
<thizanne> you probably wanted to write (fun (x :: xs) -> x) [1; 2; 3]
FreeBirdLjj has quit [Ping timeout: 265 seconds]
<Jenz> Aha, so to get my expression to be 1, I'd had to apply [[1; 2; 3;]] ?
<Jenz> s/had/have
FreeBirdLjj has joined #ocaml
<Jenz> Yeah, alright, thanks thizanne! :D
FreeBirdLjj has quit [Ping timeout: 250 seconds]
philtor has joined #ocaml
tane has quit [Quit: Leaving]
kakadu has quit [Remote host closed the connection]
jco has quit [Quit: WeeChat 2.6]
FreeBirdLjj has joined #ocaml
silver_ has joined #ocaml
silver has quit [Ping timeout: 250 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 246 seconds]
Jenz has quit [Ping timeout: 245 seconds]
<companion_cube> Leonidas: have you tried github actions?
Haudegen has quit [Ping timeout: 265 seconds]
Hrundi_V_Bakshi has quit [Ping timeout: 276 seconds]
Hrundi_V_Bakshi has joined #ocaml
Haudegen has joined #ocaml
mfp has joined #ocaml
amiloradovsky has quit [Ping timeout: 250 seconds]