I’m considering it.
Especially because I finally managed to have the API I wanted all along:
https://ellie-app.com/9Z34Xrhwm7Xa1
You can tell this is the “correct” API because the types are finally symmetric and clean.
Nontrivial insights I had to find:
- The type of
prettyPrinter
inside theUrlCodec
/ how to implementint
; - the implementation of
prettyPrinter
insidevariant
.
The rest is basically all blindly solving the type puzzle.