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

TYPEDFIELDS ? #75

Closed
j-fu opened this issue Jun 12, 2019 · 1 comment · Fixed by #77
Closed

TYPEDFIELDS ? #75

j-fu opened this issue Jun 12, 2019 · 1 comment · Fixed by #77

Comments

@j-fu
Copy link

j-fu commented Jun 12, 2019

Hi, great tool, just provides what I was missing from Documenter.
I also like TYPEDSIGNATURES. Would it be possible to add also a TYPEDFIELDS macro?

Jürgen

@mortenpi
Copy link
Member

Yeah, seems reasonable. Implementation if up for grabs though, but I'm happy to review the PR. Should not be very hard to extend FIELDS.

I am wondering if we should maybe make the abbreviation take arguments, e.g. something like this:

"""
$(FIELDS(types = true))
"""
struct Foo

But a separate abbreviation would be fine too.

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

Successfully merging a pull request may close this issue.

2 participants