Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs or examples for Deriving.Args? #384

Open
enetsee opened this issue Jan 1, 2023 · 1 comment
Open

Docs or examples for Deriving.Args? #384

enetsee opened this issue Jan 1, 2023 · 1 comment

Comments

@enetsee
Copy link

enetsee commented Jan 1, 2023

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?

@panglesd
Copy link
Collaborator

panglesd commented Jan 2, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants