rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cbarrett has quit [Ping timeout: 250 seconds]
cbarrett has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
waleee has quit [Ping timeout: 268 seconds]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
rgrinberg has quit [Client Quit]
rgrinberg has joined #ocaml
mro has quit [Remote host closed the connection]
mbuf has quit [Quit: Leaving]
bartholin has quit [Quit: Leaving]
Haudegen has joined #ocaml
mro has joined #ocaml
mro has quit [Ping timeout: 245 seconds]
Everything has quit [Quit: leaving]
mro has joined #ocaml
mro has quit [Ping timeout: 256 seconds]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mro has joined #ocaml
mro has quit [Ping timeout: 245 seconds]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
waleee has joined #ocaml
namkeleser has joined #ocaml
<d_bot>
<cemerick> dumb idea: use ppx_deriving_qcheck to create a generator for random ocamlformat configuration values (`Ocamlformat_lib.Conf.t`, fwiw), and write a little executable on the side that looks for a configuration that minimally perturbs a given source file (presumed to be formatted as desired)
<d_bot>
<cemerick> @antron I got about 25m into doing the thing with ppx_enumerate; it took me that long to realize, whoops, I'm gonna be in the ground before a computer will exhaustively generate records with 60+ slots lol
Tuplanolla has joined #ocaml
<companion_cube>
is it like ppx_deriving.enum?
<sim642>
I think enum doesn't do all combinations for tuples and records
<sim642>
And even constructs with arguments I think
<sim642>
But just numbers no-arg constructors of a variant type, a la C
<d_bot>
<cemerick> the only wrinkle is that you need to swap non-enumerated types (e.g. `int`) for local aliases that you can define finite sets for
<d_bot>
<cemerick> but again, 2^60 combinations or whatever, oooops
waleee has quit [Quit: WeeChat 3.3]
<d_bot>
<cemerick> a more subtle tool that requires the user to specify which config options to fuzz would be completely tractable, but that's way too fiddly for me to mess with at the moment
<companion_cube>
oh interesting
<companion_cube>
kind of like smallcheck
<d_bot>
<cemerick> I mean, it's not fuzzing at that point, just small-scale exhaustive optimization
waleee has joined #ocaml
<d_bot>
<antron> in before combinatorial explosion
zebrag has joined #ocaml
bobo_ has joined #ocaml
spip has quit [Ping timeout: 264 seconds]
mro has quit [Ping timeout: 250 seconds]
namkeleser has joined #ocaml
sluigi has joined #ocaml
olle has quit [Ping timeout: 268 seconds]
sluigi has left #ocaml [#ocaml]
waleee has quit [Ping timeout: 268 seconds]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]