Mauro

Results 206 comments of Mauro

I just use `dump` for the printing (with `maxdepth=1`). A custom rolled printer would be great. Alternatively increasing maxdepth would yield: ``` julia> dump(Para(),maxdepth=2) Para a: Float64 0.0 b: Complex{Float64}...

You first create a dev of Parameters. E.g. start the repl and do `]`, `dev Parameters`. That will create `~/.julia/dev/Parameters`, a git repo. quit the repl, `cd` to `~/.julia/dev/Parameters`, do...

Ok, that is a good catch. It might be a bit hard to support this, I'll see.

Probably should merge this. A bit hesitant because of the new MacroTools dep...

Yes, I think this is https://github.com/JuliaLang/julia/pull/29316#issuecomment-424096502. Note that with a two-field struct it works ok: ``` julia> @with_kw struct Bar; a; b; end Bar julia> Bar(Bar(1,1), 99).a Bar a: Int64...

I guess the original way I thought about Parameters is that such a type would contain lots of fields, so this did not occur to me...

Yes, that's a mistake in the docs, packing only works with `mutable struct`s. Alternativvely you could use Setfield.jl. Fancy submitting a PR to fix the docs?

Maybe make a mutable struct: ``` @with_kw mutable struct MPara{R

I think the syntax ought to be ```julia @parameterize struct Foo field1

@jw3126 thanks for the PR! Yes, making things more DRY and faster is certainly appreciated. @tkf that is a good point. Just to let you know, I will be on...