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

SIGNATURES in composite type definition #71

Open
tpapp opened this issue Jan 7, 2019 · 1 comment
Open

SIGNATURES in composite type definition #71

tpapp opened this issue Jan 7, 2019 · 1 comment

Comments

@tpapp
Copy link
Contributor

tpapp commented Jan 7, 2019

I wonder if it would it make sense to allow

"""
$(SIGNATURES)
"""
Base.@kwdef struct Foo
    a
    b
end

document the constructors of Foo. This would be especially useful when there is not other explicit outer or inner constructor.

@ParadaCarleton
Copy link

Seems like a good idea, but I think a different name would be better--$SIGNATURES would be confusing for function objects that have their own signatures as well.

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

No branches or pull requests

3 participants