Rafael Schouten
Rafael Schouten
Maybe update without the bang for reconstruct: This would be the default: ```julia update(x; select=Number) do obj, fn, newvalue return value end ``` And in-place : ```julia update!(x; select=Number) do...
Whatever it is it can be composable with lens from Setfield.jl/Accessors.jl? Composing `get` seems straightforward - `compose(FlattenLens{Params}(), @lens _.a)` should get the `a` field from every `Param` object. I'm not...
Yeah I've been looking at how to get Accesors to do everything Flatten.jl does. I also rewrote this as a Setfiled `Lens` in a script before I knew about Accessors...
No, but that is a good idea. So it would need to extract the fields and type parameters of the existing struct and generate the `@FooTemplate` macro. I would merge...
Feel free to make/ updates a PR. But you should be aware that I dont actually use this package anymore... (it was my first ever Julia package!) So I am...
I dont realy use or work on Mixers.jl anymore, but I'll review PRs.
This is cool. Does it handle type parameters on `Foo`? Probably that and allowing macros like `@with_kw` would be requirements. Also maybe `@stack` needs a dumber name to fit in...
Oh right sorry I missed that - the outer macro runs first! The trick is to put that macro inside the `@stack` macro and reapply it after, like I do...
Also thinking about it I'm not sure how you can get `@with_kw ` to work anyway? it needs the `= x`? But allowing macros would allow you to apply some...
No... mixins can be combined and Julia doesn't have multiple inheritance.