ppxlib icon indicating copy to clipboard operation
ppxlib copied to clipboard

Docs or examples for `Deriving.Args`?

Open enetsee opened this issue 2 years ago • 1 comments

I'm struggling to find docs or examples for Deriving.Args which go beyond the basics i.e. using flag or the provided combinators.

I am particularly interested to find a clear explanation of the Ast_pattern.t type (it looks a little like this?) and examples of passing variant or record arguments.

Does anything like this already exist? If not, would there be interest in adding this to the docs if I could pull something together?

enetsee avatar Jan 01 '23 15:01 enetsee

There is an open PR for improving the documentation: #382.

It includes a part on Deriving.args here. There is also a part on Ast_pattern here.

Do not hesitate to give feedback to improve those parts!

panglesd avatar Jan 02 '23 06:01 panglesd