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