2 ms·
> Way to deflect any possible criticism There is no blame to defect. What’s supposed to be so weird about Ocaml syntax? > How do you print a list in OCaml? Th
by StopDisinfo910 11mo ago
> Way to deflect any possible criticism
There is no blame to defect. What’s supposed to be so weird about Ocaml syntax?
> How do you print a list in OCaml? There's your answer as to why it's not the same thing.
Don’t get your point.
You can ppx_derive on a list type. There is a feature specifically designed for this common use case. That gives you a pretty printer for a list. Alternatively you can tier the type pretty printer.
Is there supposed to be something special with lists?