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/
pi3ce has quit [Quit: No Ping reply in 180 seconds.]
pi3ce has joined #ocaml
sroso has joined #ocaml
jabuxas has quit [Ping timeout: 272 seconds]
mbuf has joined #ocaml
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ocaml
waleee has quit [Ping timeout: 268 seconds]
bartholin has joined #ocaml
Serpent7776 has joined #ocaml
mima has joined #ocaml
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ocaml
olle has joined #ocaml
Guest39 has joined #ocaml
olle has quit [Read error: Connection reset by peer]
olle has joined #ocaml
sroso has quit [Quit: Leaving :)]
Guest39 has quit [Quit: Client closed]
mima has quit [Ping timeout: 252 seconds]
Guest32 has joined #ocaml
<discocaml> <esperluet> Hi everyone
tomku|two has joined #ocaml
tomku has quit [Ping timeout: 264 seconds]
jabuxas has joined #ocaml
Anarchos has joined #ocaml
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ocaml
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ocaml
Guest32 has quit [Quit: Client closed]
bartholin has quit [Quit: Leaving]
dnh has joined #ocaml
Anarchos has quit [Ping timeout: 256 seconds]
mima has joined #ocaml
olle has quit [Ping timeout: 260 seconds]
jabuxas has quit [Ping timeout: 268 seconds]
olle has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]
bartholin has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Tuplanolla has joined #ocaml
dnh has joined #ocaml
mbuf has quit [Quit: Leaving]
mima has quit [Ping timeout: 255 seconds]
jabuxas has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
waleee has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
jabuxas has quit [Ping timeout: 255 seconds]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<discocaml> <regularspatula> At what point are names of type variables erased during compilation? I'm wondering how vscode knows the names of the type variables. E.g., if you say `let f (a : 'thing) = a`, then the type will be shown as `'thing -> 'thing`. (Or maybe I'm on the wrong track and it has nothing to do with type erasure?)
<companion_cube> type inference tries to reuse the given names iirc
<companion_cube> then later in the compilation, types are entirely erased
<discocaml> <regularspatula> interesting...by any chance, do you know if that would be something in the lsp codebase?
<discocaml> <regularspatula> (im trying to figure out why the ocaml lsp knows about type variable names and the gleam lsp does not fwiw)
<companion_cube> the LSP just mostly reuses the existing typechecker afaik
<companion_cube> or rather a fork of it? must be in merlin
<companion_cube> maybe gleam's inference doesn't try to reuse variables
<discocaml> <regularspatula> hmm possible. i will try and dig around in merlin code and see if i can figure out something about it
mima has joined #ocaml
olle has quit [Ping timeout: 264 seconds]
dnh has joined #ocaml
zanetti has joined #ocaml
<discocaml> <octachron> Merlin uses the typechecker + few patches to recover more information in case of type error. But the basic information is freely available in the `.cmt` file emitted by the `-bin-annot` option.
zanetti has quit [Quit: zanetti]
dnh has quit [Read error: Connection reset by peer]
dnh has joined #ocaml
mima has quit [Ping timeout: 252 seconds]
bartholin has quit [Quit: Leaving]
Serpent7776 has quit [Ping timeout: 260 seconds]
zanetti has joined #ocaml
rgrinberg has joined #ocaml
oriba has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zanetti has quit [Quit: zanetti]
rgrinberg has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]