companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 4.14.0 released: https://ocaml.org/releases/4.14.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
wingsorc has quit [Ping timeout: 248 seconds]
rgrinberg has joined #ocaml
rgrinberg has quit [Ping timeout: 248 seconds]
wingsorc has joined #ocaml
gereedy has joined #ocaml
rgrinberg has joined #ocaml
chrisz has quit [Ping timeout: 272 seconds]
chrisz has joined #ocaml
chrisz has quit [Ping timeout: 240 seconds]
chrisz has joined #ocaml
gereedy has quit [Quit: gereedy]
tizoc has quit [Quit: Coyote finally caught me]
tizoc has joined #ocaml
bobo has joined #ocaml
spip has quit [Ping timeout: 260 seconds]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mjs22 has joined #ocaml
rgrinberg has joined #ocaml
waleee has quit [Ping timeout: 252 seconds]
Sankalp has quit [Ping timeout: 240 seconds]
zebrag has quit [Quit: Konversation terminated!]
Sankalp has joined #ocaml
perrierjouet has quit [Ping timeout: 260 seconds]
meinside has joined #ocaml
Haudegen has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Serpent7776 has joined #ocaml
gereedy has joined #ocaml
gravicappa has joined #ocaml
mro has joined #ocaml
gravicappa has quit [Ping timeout: 244 seconds]
adanwan has quit [Ping timeout: 240 seconds]
tiferrei has quit [Ping timeout: 240 seconds]
mro has quit [Remote host closed the connection]
adanwan has joined #ocaml
tiferrei has joined #ocaml
mro has joined #ocaml
tiferrei has quit [Ping timeout: 240 seconds]
adanwan has quit [Ping timeout: 240 seconds]
adanwan has joined #ocaml
tiferrei has joined #ocaml
x88x88x has quit [Remote host closed the connection]
mro has quit [Remote host closed the connection]
gereedy has quit [Quit: gereedy]
x88x88x has joined #ocaml
olle has joined #ocaml
gravicappa has joined #ocaml
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
olle has quit [Ping timeout: 240 seconds]
mro has quit [Remote host closed the connection]
DNH has joined #ocaml
mro has joined #ocaml
mro has quit [Remote host closed the connection]
DNH has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wingsorc has quit [Quit: Leaving]
chrisz has quit [Quit: leaving]
olle has joined #ocaml
perrierjouet has joined #ocaml
bartholin has joined #ocaml
<d_bot> <deepspacejohn> is there a way to view the code generated by a PPX? I'm using `@@deriving show` and I want to change how it displays. I'd like to just copy its generated function and edit it.
Everything has joined #ocaml
<reynir> yes! There is. I forgot how though
spip has joined #ocaml
bobo has quit [Ping timeout: 244 seconds]
<reynir> if you're using dune you can find the file foo.pp.ml somehwere in _build and then run ocamlopt -dsource _build/path/to/foo.pp.ml
<reynir> @deepspacejohn ↑
<d_bot> <deepspacejohn> Thanks!
olle has left #ocaml [#ocaml]
mro has joined #ocaml
DNH has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
mro has quit [Remote host closed the connection]
Sankalp has quit [Ping timeout: 240 seconds]
Sankalp has joined #ocaml
Haudegen has joined #ocaml
<gopiandcode> shameless plug: https://opam.ocaml.org/packages/dune-expand/
Anarchos has joined #ocaml
xgqt has quit [Remote host closed the connection]
xgqt has joined #ocaml
<d_bot> <Butanium (@me on reply)> Is there a way to get which function of a library aren't used inside it in dune ?
<d_bot> <Butanium (@me on reply)> That would be an equivalent to the warning `unusued function/variable` for exectuable
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
DNH has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zebrag has joined #ocaml
waleee has joined #ocaml
DNH has joined #ocaml
<ns12> I think https://ocaml.org is missing something: a big "download now" button. I still can't find the tarball. Where is it?
rgrinberg has joined #ocaml
<Anarchos> ns12 it misses the ocaml weekly news too ! I am addicted to them :)
<ns12> Anarchos: 😢 I still haven't found the OCaml download link.
Anarchos has quit [Quit: Vision[]: i've been blurred!]
aspe has joined #ocaml
aspe has quit [Client Quit]
<d_bot> <ec> Is there any particular prevalence in either direction, between `smth.Smth.field` vs `Smth.(smth.field)`? (Specifically in the case that 1. it's a single usage, so `let open Smth` is a bad idea, and 2. that the local name is the same as the module name)
hyphen has quit [Ping timeout: 240 seconds]
DNH has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hyphen has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
<sleepydog> @ec I prefer the local open form, but I also try to avoid stuttering in my code, so I'd try not to name the variable the same as the module, or I would pattern match the field in my function signature
mro has quit [Remote host closed the connection]
hyphen has quit [Read error: Connection reset by peer]
Tuplanolla has joined #ocaml
hyphen has joined #ocaml
bartholin has quit [Quit: Leaving]
<d_bot> <Ambika E.> Hit "Getting Started", then scroll down till you find the binary distribution of opam, you want to download and install ocaml via opam
<d_bot> <Ambika E.> This seems to be the "package manager free" way to get ocaml running
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hyphen has quit [Read error: Connection reset by peer]
<d_bot> <sim642> The VSCode plugin provides an action to show both the preprocessed code and the AST
klu has joined #ocaml
klu has quit [Changing host]
klu has joined #ocaml
<d_bot> <sim642> The third option would be to provide sufficient type annotations that you don't need to qualify anything on the field itself
hyphen has joined #ocaml
hyphen has quit [Ping timeout: 260 seconds]
hyphen has joined #ocaml
rgrinberg has joined #ocaml
hyphen has quit [Ping timeout: 240 seconds]
Haudegen has joined #ocaml
<d_bot> <Et7f3 (@me on reply)> Just add empty mli
<d_bot> <Et7f3 (@me on reply)> https://github.com/rescript-association/reanalyze can be handy
<d_bot> <Et7f3 (@me on reply)> (It works for OCaml)
olle has joined #ocaml
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mjs22 has quit [Remote host closed the connection]
mjs22 has joined #ocaml
mjs22 has quit [Remote host closed the connection]
mro has joined #ocaml
<d_bot> <ec> demonstrate? I don’t understand, but that sounds nice. :)
mro has quit [Remote host closed the connection]
dstein64- has joined #ocaml
azimut has quit [Ping timeout: 240 seconds]
mro has joined #ocaml
dstein64 has quit [Ping timeout: 240 seconds]
dstein64- is now known as dstein64
mro has quit [Remote host closed the connection]
hyphen has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<d_bot> <ec> Oh, I'm dumb. I see. Type-directed disambig.
<d_bot> <ec>
<d_bot> <ec> ```ocaml
<d_bot> <ec> let some_func smth = let some_func (smth : Smth.t) =
<d_bot> <ec> match smth.Smth.field with match smth.field with
<d_bot> <ec> ```
<d_bot> <deepspacejohn> Good to know, although I’m not using VSCode. (I’m on Vim.)
Sankalp has quit [Ping timeout: 240 seconds]
hyphen has quit [Read error: Connection reset by peer]
rgrinberg has joined #ocaml
hyphen has joined #ocaml
mro has joined #ocaml
Everything has quit [Quit: leaving]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mro_ has joined #ocaml
DNH has joined #ocaml
mro has quit [Ping timeout: 244 seconds]
Sankalp has joined #ocaml
gravicappa has quit [Ping timeout: 272 seconds]
mro_ has quit [Remote host closed the connection]
mjs22 has joined #ocaml
mjs22 has quit [Remote host closed the connection]
hyphen has quit [Ping timeout: 244 seconds]
olle has quit [Ping timeout: 260 seconds]
hyphen has joined #ocaml
wingsorc has joined #ocaml
hyphen has quit [Ping timeout: 244 seconds]
hyphen has joined #ocaml
Serpent7776 has quit [Quit: leaving]
hyphen has quit [Ping timeout: 240 seconds]
hyphen has joined #ocaml
hyphen has quit [Ping timeout: 240 seconds]
hyphen has joined #ocaml
hyphen has quit [Ping timeout: 240 seconds]
hyphen has joined #ocaml
hyphen has quit [Ping timeout: 276 seconds]
hyphen has joined #ocaml
rgrinberg has joined #ocaml
bobo has joined #ocaml
spip has quit [Ping timeout: 260 seconds]
Haudegen has quit [Ping timeout: 240 seconds]
hyphen has quit [Ping timeout: 272 seconds]
hyphen has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hyphen has quit [Ping timeout: 244 seconds]
hyphen has joined #ocaml
bobo has quit [Read error: Connection reset by peer]
bobo has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
rgrinberg has joined #ocaml
hyphen has quit [Ping timeout: 276 seconds]
motherfsck has quit [Ping timeout: 240 seconds]
hyphen has joined #ocaml
hyphen has quit [Ping timeout: 272 seconds]
hyphen has joined #ocaml
hyphen has quit [Ping timeout: 272 seconds]
hyphen has joined #ocaml
motherfsck has joined #ocaml
hyphen has quit [Ping timeout: 260 seconds]
hyphen has joined #ocaml