companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.2.0 released: https://ocaml.org/releases/5.2.0 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
Tuplanolla has quit [Quit: Leaving.]
waleee has joined #ocaml
lain`_ has joined #ocaml
philipwhite_ has joined #ocaml
pmk_ has joined #ocaml
pluviaq_ has joined #ocaml
richardhuxton_ has joined #ocaml
soni_ has joined #ocaml
arya_elfren_ has joined #ocaml
kuruczgy_ has joined #ocaml
seeg_ has joined #ocaml
brettgilio_ has joined #ocaml
ursa-major_ has joined #ocaml
b0o_ has joined #ocaml
steenuil_ has joined #ocaml
philipwhite has quit [Read error: Connection reset by peer]
kuruczgy has quit [Read error: Connection reset by peer]
arya_elfren has quit [Read error: Connection reset by peer]
richardhuxton has quit [Read error: Connection reset by peer]
ansiwen has quit [Read error: Connection reset by peer]
kurfen has quit [Quit: ZNC - https://znc.in]
richardhuxton_ is now known as richardhuxton
brettgilio has quit [Read error: Connection reset by peer]
Opus has quit [Remote host closed the connection]
arya_elfren_ is now known as arya_elfren
pluviaq has quit [Ping timeout: 268 seconds]
pluviaq_ is now known as pluviaq
ansiwen_ has joined #ocaml
ursa-major has quit [Read error: Connection reset by peer]
pmk has quit [Read error: Connection reset by peer]
kurfen has joined #ocaml
seeg has quit [Read error: Connection reset by peer]
074AAVAZH has quit [Read error: Connection reset by peer]
seeg_ is now known as seeg
kuruczgy_ is now known as kuruczgy
Armael has quit [Ping timeout: 268 seconds]
steenuil has quit [Ping timeout: 268 seconds]
steenuil_ is now known as steenuil
Opus has joined #ocaml
b0o has quit [Read error: Connection reset by peer]
b0o_ is now known as b0o
Armael has joined #ocaml
lain` has quit [Ping timeout: 268 seconds]
Ekho has quit [Ping timeout: 268 seconds]
xgqt has quit [Ping timeout: 268 seconds]
lain`_ is now known as lain`
xgqt has joined #ocaml
brettgilio_ is now known as brettgilio
ursa-major_ is now known as ursa-major
Ekho has joined #ocaml
toastal has joined #ocaml
waleee has quit [Ping timeout: 264 seconds]
bartholin has joined #ocaml
toastal has left #ocaml [Disconnected: Hibernating too long]
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ocaml
bibi_ has quit [Quit: Konversation terminated!]
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ocaml
Serpent7776 has joined #ocaml
leah2 has quit [Ping timeout: 264 seconds]
<discocaml> <aantron> ``` Type [> `Dir ] is not compatible with type
<discocaml> <aantron> [> Eio.Fs.dir_ty ] = [> `Dir ]```
<discocaml> <aantron> What
<discocaml> <aantron> I suppose that's due to the row type variables being different
<discocaml> <leviroth> That looks vaguely familiar. Possibly the compiler is saying something misleading here.
<discocaml> <limp.biskit> eio’s use of polymorphic typing is rather wacky
toastal has joined #ocaml
leah2 has joined #ocaml
Tuplanolla has joined #ocaml
<discocaml> <limp.biskit> not sure if it’s better or worse than everything being a class
<companion_cube> Probably way worse
<companion_cube> Since objects were the perfect fit for the particular problem
YuGiOhJCJ has joined #ocaml
YuGiOhJCJ has quit [Read error: Connection reset by peer]
YuGiOhJCJ has joined #ocaml
<discocaml> <froyo> Jane Street have requested that Eio not use objects
<companion_cube> Yep yep
bartholin has quit [Quit: Leaving]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
bartholin has joined #ocaml
bibi_ has joined #ocaml
toastal has left #ocaml [Disconnected: Hibernating too long]
<discocaml> <yawaramin> Jane Street objected
<companion_cube> it was a `class` struggle
<discocaml> <yawaramin> they wanted a different method
<dh`> we inherit the mess
<companion_cube> for the Eio team, this order was a late binding
<companion_cube> but they got the message
<discocaml> <limp.biskit> and jane street is on board with capabilities?
<companion_cube> good question :D
<companion_cube> maybe they just don't want any major contender to use features (objects) that they don't like
<discocaml> <limp.biskit> i’ve never understood it. seems like it would be a better choice to improve the perceived shortcomings in objects
<companion_cube> I think it's partly because their devs don't know/use objects
<companion_cube> but perhaps also their fork of OCaml supports them badly? or it's in the way??
<discocaml> <limp.biskit> i didn’t know they forked ocaml?
<companion_cube> well they have their compiler with experimental features
<companion_cube> flambda2, modes, etc.
<discocaml> <limp.biskit> ah
<discocaml> <limp.biskit> i wouldn’t be shocked
<discocaml> <limp.biskit> the object system does seem rather neglected and still has overhead issues that shouldn’t be there in a multi pass compiler
bartholin has quit [Ping timeout: 268 seconds]
bartholin has joined #ocaml
waleee has joined #ocaml
<discocaml> <leviroth> What's the least painful way to build a specific version of the ocamlformat executable? I want to get a version that matches the one used in someone's GitHub project, but ideally I would not have to change the state of my current switch or install a new one. Basically I would like to temporarily clone the dependencies somewhere and then run a dune build.
<discocaml> <anmonteiro> least painful? probably something like `nix shell nixpkgs#ocamlPackages.ocamlformat_0_23_0` (replace with your version from the ones available here <https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/ocaml-packages.nix#L1306-L1316>)
<discocaml> <anmonteiro> least painful? probably something like `nix shell nixpkgs#ocamlPackages.ocamlformat_0_23_0 -c $SHELL` (replace with your version from the ones available here <https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/ocaml-packages.nix#L1306-L1316>)
cr1901_ has quit [Read error: Connection reset by peer]
cr1901 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
bartholin has quit [Quit: Leaving]
Serpent7776 has quit [Ping timeout: 268 seconds]
jabuxas_ has joined #ocaml
jabuxas_ has quit [Quit: oops :p]
Tuplanolla has quit [Quit: Leaving.]
<discocaml> <leviroth> Ah interesting. Never having used nix before, should that generally work out of the box if I install nix from my system package manager?
<discocaml> <anmonteiro> I think so
<discocaml> <anmonteiro> at most you may have to add `extra-experimental-features = nix-command flakes` to your `~/.config/nix/nix.conf`