companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.0 released(!!1!): https://ocaml.org/releases/5.0.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
dnh has quit [Ping timeout: 245 seconds]
dnh_ has joined #ocaml
dnh has joined #ocaml
dnh__ has joined #ocaml
dnh_ has quit [Ping timeout: 245 seconds]
dnh has quit [Ping timeout: 245 seconds]
dnh has joined #ocaml
dnh__ has quit [Ping timeout: 245 seconds]
dnh_ has joined #ocaml
dnh has quit [Ping timeout: 245 seconds]
dnh has joined #ocaml
dnh__ has joined #ocaml
dh` has quit [Ping timeout: 258 seconds]
dnh_ has quit [Ping timeout: 252 seconds]
dnh has quit [Ping timeout: 252 seconds]
dnh has joined #ocaml
dnh__ has quit [Ping timeout: 252 seconds]
dnh has quit [Read error: Connection reset by peer]
dnh has joined #ocaml
dnh_ has joined #ocaml
dnh has quit [Ping timeout: 252 seconds]
waleee has quit [Ping timeout: 264 seconds]
dnh has joined #ocaml
dnh_ has quit [Ping timeout: 252 seconds]
dnh_ has joined #ocaml
dnh__ has joined #ocaml
dnh___ has joined #ocaml
dnh has quit [Ping timeout: 252 seconds]
dnh_ has quit [Ping timeout: 252 seconds]
hrberg has quit [Remote host closed the connection]
dnh__ has quit [Ping timeout: 252 seconds]
hrberg has joined #ocaml
dnh has joined #ocaml
dnh_ has joined #ocaml
dnh___ has quit [Ping timeout: 264 seconds]
dnh has quit [Ping timeout: 264 seconds]
dnh__ has joined #ocaml
dnh_ has quit [Ping timeout: 264 seconds]
dnh has joined #ocaml
dnh__ has quit [Ping timeout: 264 seconds]
dnh_ has joined #ocaml
dnh has quit [Ping timeout: 264 seconds]
dnh has joined #ocaml
dnh__ has joined #ocaml
dnh_ has quit [Ping timeout: 245 seconds]
dnh has quit [Ping timeout: 245 seconds]
dnh has joined #ocaml
dnh__ has quit [Ping timeout: 245 seconds]
dnh_ has joined #ocaml
dnh has quit [Ping timeout: 245 seconds]
dnh has joined #ocaml
dnh_ has quit [Ping timeout: 245 seconds]
dnh has quit [Ping timeout: 260 seconds]
xd1le has quit [Quit: xd1le]
dnh has joined #ocaml
dnh has quit [Ping timeout: 260 seconds]
dnh has joined #ocaml
dnh has quit [Ping timeout: 240 seconds]
dnh has joined #ocaml
dnh has quit [Ping timeout: 258 seconds]
chrisz has quit [Ping timeout: 258 seconds]
chrisz has joined #ocaml
dnh has joined #ocaml
dnh has quit [Ping timeout: 252 seconds]
dnh has joined #ocaml
dnh has quit [Ping timeout: 258 seconds]
azimut has joined #ocaml
dnh has joined #ocaml
dnh has quit [Ping timeout: 240 seconds]
dnh has joined #ocaml
dh` has joined #ocaml
dh` has quit [Changing host]
dh` has joined #ocaml
dnh has quit [Ping timeout: 245 seconds]
bibi_ has quit [Quit: Konversation terminated!]
keyle has quit [Quit: door slammed.]
keyle has joined #ocaml
dnh has joined #ocaml
dnh has quit [Ping timeout: 246 seconds]
dnh has joined #ocaml
dnh has quit [Ping timeout: 258 seconds]
<discocaml> <andreypopp> @sim642 thanks! actually the ppx_easy_deriving seems to be close to what I want, but in my case I need to build JSON encoding/decoding so I need to distinguish between tuple and record types of products
<discocaml> <sim642> It's been a while since I last worked on it but I at least intended to also offer a layer where they can be distinguished. Not sure if I implemented that though
<discocaml> <andreypopp> thinking further, having something which derive a runtime type repr is interesting as well, but I think it needs to be like this — deriving builds a type repr value, then you can either "stage" it to runtime (flexible but slow) or use as a basis for further codegen (should be as fast as existing derivers)
Serpent7776 has joined #ocaml
<discocaml> <sim642> ppx_type_directed_value is something intermediate and has very nice API
<discocaml> <sim642> I tried to imitate it but it doesn't work when maximum efficiency is needed
<discocaml> <sim642> Why are you doing your own JSON ppx though?
<discocaml> <andreypopp> for melange, Js.Json.t
dnh has joined #ocaml
dnh has quit [Ping timeout: 245 seconds]
dnh has joined #ocaml
Serpent7776 has quit [Ping timeout: 248 seconds]
dnh has quit [Ping timeout: 258 seconds]
uran238 has joined #ocaml
<discocaml> <sim642> Might be easiest to just adapt ppx_deriving_yojson or something
uran238 has quit [Quit: Client closed]
dnh has joined #ocaml
dnh has quit [Ping timeout: 246 seconds]
Tuplanolla has joined #ocaml
emp has joined #ocaml
dnh has joined #ocaml
dnh has quit [Ping timeout: 240 seconds]
dnh has joined #ocaml
<discocaml> <andreypopp> That’s what I did — forked ppx conv yojson but the amount of code there is… well lots of code
dnh has quit [Ping timeout: 260 seconds]
waleee has joined #ocaml
dnh has joined #ocaml
bartholin has joined #ocaml
dnh has quit [Ping timeout: 258 seconds]
dnh has joined #ocaml
<discocaml> <bluddy5> If you need something simple, it's not that complicated
<discocaml> <bluddy5> Look at my `ppx_update` lib
<discocaml> <bluddy5> Ah ok I see you want something more complex
<discocaml> <bluddy5> I do wish Ppxlib.metaquot was more powerful. It doesn't seem very useful beyond the simplest of examples.
nickiminjaj has quit [Read error: Connection reset by peer]
nickiminjaj has joined #ocaml
nickiminjaj has quit [Changing host]
nickiminjaj has joined #ocaml
xd1le has joined #ocaml
waleee has quit [Ping timeout: 258 seconds]
<discocaml> <andreypopp> I don't want complex 😄
nickiminjaj has left #ocaml [Textual IRC Client: www.textualapp.com]
<discocaml> <sim642> ppx_conv_yojson is probably more complicated than ppx_deriving_yojson but I'm not sure what extra things it supports then
random-jellyfish has joined #ocaml
mro has joined #ocaml
alphacentauri has quit [Quit: WeeChat 4.1.0]
random-jellyfish has quit [Ping timeout: 258 seconds]
alphacentauri has joined #ocaml
Serpent7776 has joined #ocaml
mro has quit [Quit: Leaving]
bibi_ has joined #ocaml
domq has joined #ocaml
alphacentauri has quit [Quit: WeeChat 4.1.0]
waleee has joined #ocaml
myrkraverk_ has quit [Quit: Leaving]
domq has quit [Quit: domq]
cedric has joined #ocaml
cedric has quit [Client Quit]
myrkraverk has joined #ocaml
myrkraverk has quit [Client Quit]
myrkraverk has joined #ocaml
bartholin has quit [Ping timeout: 255 seconds]
bartholin has joined #ocaml
<discocaml> <cswine> is opam update meant to take its time?
domq has joined #ocaml
domq has quit [Quit: domq]
yoyofreeman has quit [Read error: Connection reset by peer]
yoyofreeman has joined #ocaml
kurfen has quit [Ping timeout: 260 seconds]
dmbaturin has quit [Ping timeout: 255 seconds]
dmbaturin has joined #ocaml
random-jellyfish has joined #ocaml
random-jellyfish has quit [Changing host]
random-jellyfish has joined #ocaml
azimut has quit [Ping timeout: 256 seconds]
Serpent7776 has quit [Ping timeout: 260 seconds]
masterbuilder has quit [Read error: Connection reset by peer]
random-jellyfish has quit [Ping timeout: 260 seconds]
noonien9 has joined #ocaml
noonien has quit [Ping timeout: 260 seconds]
noonien9 is now known as noonien
masterbuilder has joined #ocaml
bartholin has quit [Quit: Leaving]
Tuplanolla has quit [Quit: Leaving.]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yoyofreeman has quit [Read error: Connection reset by peer]
yoyofreeman has joined #ocaml