We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
e.g. I imagine a syntax like
@sum_type @kwdef AT begin A(common_field::Int = 3, a::Bool = true, b::Int) B(common_field::Int = 1, a::Int, b::Float64 = 4.0, d::Complex) end
and so it will work creating new all keywords constructors for each variant just like the kwdef macro works
kwdef
julia> A(; b = 4) A(3, true, 4)::AT
I will try to work out the details if this feature is welcomed
The text was updated successfully, but these errors were encountered:
yeah that'd be nice!
Sorry, something went wrong.
No branches or pull requests
e.g. I imagine a syntax like
and so it will work creating new all keywords constructors for each variant just like the
kwdef
macro worksI will try to work out the details if this feature is welcomed
The text was updated successfully, but these errors were encountered: