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/
kakadu has quit [*.net *.split]
lobo has quit [*.net *.split]
cross has quit [*.net *.split]
Johann has quit [*.net *.split]
theblatte has quit [*.net *.split]
klu has quit [*.net *.split]
mal`` has quit [*.net *.split]
xenu has quit [*.net *.split]
companion_cube has quit [*.net *.split]
infinity0 has quit [*.net *.split]
sadiq has quit [*.net *.split]
dinosaure has quit [*.net *.split]
xenu has joined #ocaml
sadiq has joined #ocaml
kakadu has joined #ocaml
lobo has joined #ocaml
cross has joined #ocaml
lobo has quit [Changing host]
lobo has joined #ocaml
klu has joined #ocaml
infinity0 has joined #ocaml
klu has quit [Changing host]
klu has joined #ocaml
companion_cube has joined #ocaml
dinosaure has joined #ocaml
Johann has joined #ocaml
mal`` has joined #ocaml
jpds1 has quit [Remote host closed the connection]
jpds1 has joined #ocaml
theblatte has joined #ocaml
ebb has quit [Quit: Somebody set up us the bomb]
ebb has joined #ocaml
waleee has quit [Ping timeout: 260 seconds]
Sankalp has quit [Ping timeout: 240 seconds]
dextaa has quit [Read error: Connection reset by peer]
dextaa has joined #ocaml
Sankalp has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gopiandcode has quit [Read error: Connection reset by peer]
rgrinberg has joined #ocaml
gopiandcode has joined #ocaml
azimut has quit [Ping timeout: 268 seconds]
azimut has joined #ocaml
dextaa has quit [Read error: Connection reset by peer]
dextaa has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
chrisz has quit [Ping timeout: 272 seconds]
chrisz has joined #ocaml
williewillus has joined #ocaml
bobo_ has joined #ocaml
spip has quit [Ping timeout: 272 seconds]
xd1le has joined #ocaml
azimut has quit [Remote host closed the connection]
adanwan has quit [Remote host closed the connection]
jpds1 has quit [Remote host closed the connection]
adanwan has joined #ocaml
jpds1 has joined #ocaml
azimut has joined #ocaml
adanwan has quit [Remote host closed the connection]
adanwan has joined #ocaml
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
trev has joined #ocaml
mbuf has joined #ocaml
williewillus has quit [Quit: Leaving]
<d_bot> <Arul (he/him)> I'm trying to setup this example. I'm not able to figure out how to get dygraph installed. It's not available in opam. I added Jane street's bleeding edge repos to opam. Can someone explain how the dygraph library is installed and used in this example? Thanks!
Absalom has quit [Quit: the lounge - https://webirc.envs.net]
Absalom has joined #ocaml
Serpent71 has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
rgrinberg has quit [Client Quit]
Haudegen has joined #ocaml
infinity0 has quit [Ping timeout: 272 seconds]
Anarchos has joined #ocaml
trev has quit [Remote host closed the connection]
trev has joined #ocaml
Tuplanolla has joined #ocaml
<d_bot> <Drup> @Bluddy metaapp is to ppx_stage what modular macros are to metaocaml
<d_bot> <Drup> (yes, the names don't line up ... oh well)
azimut has quit [Ping timeout: 268 seconds]
fastru has quit [Ping timeout: 260 seconds]
fastru has joined #ocaml
<sim642> companion_cube, if only... https://github.com/ocaml-ppx/ppx_deriving/pull/263
motherfsck has quit [Ping timeout: 272 seconds]
motherfsck has joined #ocaml
dnh has joined #ocaml
wingsorc__ has quit [Quit: Leaving]
fastru has quit [Ping timeout: 268 seconds]
fastru has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
fastru has quit []
Serpent71 has quit [Read error: Connection reset by peer]
Serpent71 has joined #ocaml
<d_bot> <Drup> @Bluddy honestly, for your use case, I would definitely write the ppx, it's approximately 10 line to hijack a custom field access operators such as `#XX` (with XX operator chars), jsoo style.
<d_bot> <Drup> it's going to be trivial to maintain too, more so than metapp
<d_bot> <Drup> I do wish we had more facilities to manipulate the right part of "string labeled" operators such as record and object fields. It's a recuring limitation compared to the rest of the ocaml syntax which is rather easy to abstract over.
<d_bot> <leviroth> @Arul (he/him) I think `dygraph` is in the bonsai repo itself: https://github.com/janestreet/bonsai/tree/c202b961f41e20e0b735c4e33c2bbac57a590941/bindings/dygraph
bartholin has joined #ocaml
Serpent71 has quit [Ping timeout: 268 seconds]
infinity0 has joined #ocaml
Serpent71 has joined #ocaml
waleee has joined #ocaml
<companion_cube> sim642: oh fuck yes
<companion_cube> deriving inline 😍
gwizon has joined #ocaml
<companion_cube> so just to be sure: this moves ppx_deriving plugins, to ppxlib, like we were saying? awesome
<companion_cube> (if I ever meet you in person, beer/coffee's on me)
gwizon has quit [Quit: Lost terminal]
gwizon has joined #ocaml
<d_bot> <Kakadu> Odoc question: Is it possible to generate docs for my project and Stdlib at the same time? I want links to `Stdlib.Option.t` to work properly?
dextaa has quit [Read error: Connection reset by peer]
gwizon_ has joined #ocaml
dextaa has joined #ocaml
dextaa has quit [Read error: Connection reset by peer]
gwizon has quit [Ping timeout: 272 seconds]
dextaa has joined #ocaml
dextaa has quit [Read error: Connection reset by peer]
dextaa has joined #ocaml
xd1le has quit [Ping timeout: 268 seconds]
<companion_cube> not sure you can do that locally, sadly
<companion_cube> things like ocaml.org's docs will link properly though
<d_bot> <copy> I've tried metapp, but ended up rewriting the preprocessor in ppxlib since metapp was too slow. ppxlib is quite ergonomic, especially since you can have ppx in the same repo as the main project using dune.
<companion_cube> I guess ppxlib is ergonomic is you know compiler-libs by heart :p
<d_bot> <Drup> you really don't need to for simple things. Just open https://v2.ocaml.org/api/compilerlibref/Parsetree.html and you should manage fine
<companion_cube> ok, I agree — you mostly need the Parsetree and a few util modules
<d_bot> <Drup> my point is more that it's rather well documented, and you don't need to know it "by heart" :p
<d_bot> <Drup> (I agree the initial cost to know where to look is not trivial though)
<companion_cube> yeah I've always looked at the .mli, didn't even know this page existed
<d_bot> <octachron> The documentation is only rendered since 4.14, before that the mli contained only pseudo-documentation comments, and thus reading the mli was compulsory.
<sim642> companion_cube, yes
dextaa has quit [Read error: Connection reset by peer]
dextaa has joined #ocaml
dextaa has quit [Read error: Connection reset by peer]
dextaa has joined #ocaml
dextaa has quit [Read error: Connection reset by peer]
dextaa has joined #ocaml
dextaa has quit [Read error: Connection reset by peer]
dextaa has joined #ocaml
dextaa has quit [Read error: Connection reset by peer]
dextaa has joined #ocaml
dextaa has quit [Read error: Connection reset by peer]
dextaa has joined #ocaml
<d_bot> <geoff> Oh There are actually some comments on the types now, nice
bobo_ has quit [Read error: Connection reset by peer]
bobo_ has joined #ocaml
Serpent71 has quit [Quit: WeeChat 1.9.1]
waleee has quit [Quit: WeeChat 3.6]
waleee has joined #ocaml
trev has quit [Ping timeout: 255 seconds]
Anarchos has joined #ocaml
trev has joined #ocaml
xgqt has quit [Remote host closed the connection]
xgqt has joined #ocaml
mbuf has quit [Quit: Leaving]
bartholin has quit [Quit: Leaving]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Haudegen has quit [Ping timeout: 272 seconds]
companion_cube has quit [Quit: WeeChat 3.4.1]
ocabot_ has quit [Remote host closed the connection]
companion_cube has joined #ocaml
ocabot has joined #ocaml
<d_bot> <jonpalmisc> does OCaml have good facilities for binary file IO? e.g. seeking to an offset, reading N bytes, seeking again, writing N bytes?
rgrinberg has joined #ocaml
<d_bot> <octachron> Yes, the standard library or unix library provides all this.
<companion_cube> just make sure you use the binary flag on opening files, if your OS requires it
<d_bot> <jonpalmisc> Browsing through stdlib docs currently, looks like `open_in_bin` might be a good place to start?
<d_bot> <jonpalmisc> (Long time programmer, first time OCaml user—forgive the ignorance here)
<companion_cube> yeah, it's the one
rgrinberg has quit [Read error: Connection reset by peer]
<companion_cube> or open_in_gen if you need more control iirc
<d_bot> <jonpalmisc> nice, will take a further look later. thanks!
rgrinberg has joined #ocaml
<d_bot> <octachron> https://ocaml.org/api/In_channel.html and https://ocaml.org/api/Out_channel.html might be more readable if you are using OCaml 4.14 .
dnh has joined #ocaml
dnh has quit [Client Quit]
rgrinberg has quit [Ping timeout: 255 seconds]
rgrinberg has joined #ocaml
rgrinberg has quit [Ping timeout: 268 seconds]
azimut has joined #ocaml
dnh has joined #ocaml
azimut_ has joined #ocaml
azimut has quit [Ping timeout: 268 seconds]
trev has quit [Quit: trev]
Serpent7776 has quit [Quit: leaving]
Haudegen has joined #ocaml
gwizon_ has quit [Ping timeout: 268 seconds]
<d_bot> <Arul (he/him)> Thank you
<Anarchos> i have many execve : operation not allowed when using "dune exec" but i don't know if it is dune or my OS which behaves weird
<d_bot> <jumpnbrownweasel> i don't know, but looking at `dune exec --help` i see a couple things you could add to try to get more info: `--debug-backtraces` and `--verbose`
<Anarchos> jumpnbrownweasel : i got execve(/Data1/INFORMATIQUE/OCAML/lwt/_build/default/src/unix/config/discover.exe): Operation not allowed
<Anarchos> execve is a syscall
<Anarchos> strace says that the OS syscall returns same error
<d_bot> <jumpnbrownweasel> sorry, i'm not much help
zebrag has joined #ocaml
<d_bot> <jumpnbrownweasel> i'm sure you already checked that discover.exe has execute permission
rgrinberg has joined #ocaml
dnh has quit [Quit: Textual IRC Client: www.textualapp.com]
rgrinberg has quit [Ping timeout: 276 seconds]
dnh has joined #ocaml
rgrinberg has joined #ocaml
jpds1 has quit [Remote host closed the connection]
jpds1 has joined #ocaml
rgrinberg has quit [Ping timeout: 272 seconds]
Haudegen has quit [Ping timeout: 268 seconds]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
pluviaq has joined #ocaml
waleee has quit [Ping timeout: 240 seconds]
Anarchos has joined #ocaml
gwizon has joined #ocaml