Leonidas changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.1.1 released: https://ocaml.org/releases/5.1.1 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
chrisz has quit [Ping timeout: 268 seconds]
chrisz has joined #ocaml
ski has quit [Remote host closed the connection]
waleee has quit [Ping timeout: 252 seconds]
ski has joined #ocaml
trillion_exabyte has quit [Ping timeout: 260 seconds]
trillion_exabyte has joined #ocaml
deadmarshal_ has quit [Remote host closed the connection]
deadmarshal_ has joined #ocaml
YuGiOhJCJ has joined #ocaml
mbuf has joined #ocaml
pi3ce has quit [Ping timeout: 256 seconds]
pi3ce has joined #ocaml
Serpent7776 has joined #ocaml
bartholin has joined #ocaml
<rustyne> xvilka: weird, I have had 20231231 menhir packages installed seamlessly in a 5.2.0 switch
troydm has quit [Ping timeout: 252 seconds]
YuGiOhJCJ has quit [Read error: Connection reset by peer]
chiselfuse has quit [Remote host closed the connection]
YuGiOhJCJ has joined #ocaml
chiselfuse has joined #ocaml
euphores has joined #ocaml
theblatte has quit [Ping timeout: 256 seconds]
wingsorc has quit [Ping timeout: 256 seconds]
theblatte has joined #ocaml
deadmarshal_ has quit [Remote host closed the connection]
<xvilka> rustyne: met this problem while packaging for homebrew: https://github.com/Homebrew/homebrew-core/pull/172795
waleee has joined #ocaml
quernd804 has quit [Quit: Ping timeout (120 seconds)]
mro has joined #ocaml
quernd80 has joined #ocaml
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
trillion_exabyte has quit [Read error: Connection reset by peer]
trillion_exabyte has joined #ocaml
neiluj has joined #ocaml
euphores has quit [Quit: Leaving.]
<neiluj> Hi! got a function that pattern matches on a string and calls function from a module with a certain module type A
<neiluj> I'd like to keep the pattern matching but call functions from a module with a module type B disjoint from A (though sharing one function)
<neiluj> (so not disjoint actually)
<neiluj> how could it be done?
<neiluj> oh ok found a way, nevermind
ocra8 has quit [Ping timeout: 260 seconds]
<discocaml> <faldor20> Thanks for your detailed reply :)
<discocaml> <faldor20> I think my main issue is that observationally they seem to cause bad comment behaviour. I'd say Ocaml codebases have the worst commenting out of any language I've used. It's markedly different from other languages. I do think the expectation of "I'll write a comment in the mli files and that'll do" is part of the cause.
<discocaml> <faldor20>
<discocaml> <faldor20> Mostly when I'm reading and modifing a function I want all the information about it in front of me.
<discocaml> <faldor20>
<discocaml> <faldor20> I'd liken always needing mli files to having to write an interface for every single class in an OO language. It'd just feel silly and clunky.