Skip to content

Comment on Pain Points of OCamlparent

Comments

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?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.