Alexander Plavin
Alexander Plavin
Seems pretty straightforward and uncontroversial, I guess...
> The problem is, I need to eval struct type to get its fields, but I don't have access to it at parse time. Any ideas? A `@generated` function should...
Interesting, you mean the `x[1]
> The reason is that push! does not recurrently call push! if some columns are StructArrays, but the whole thing is unrolled, for performance reasons. Maybe at some point this...
Bump @andyferris :)
Would be useful indeed! Also a bit more general, like ```julia struct LazyIndexed{P,I} parent::P index::I end parent(li::LazyIndexed) = getfield(li, :parent) index(li::LazyIndexed) = getfield(li, :index) getproperty(li::LazyIndexed, p) = getproperty(parent(li), p)[index(li)] #...
> postwalk and prewalk functions for Markdown.MD expressions based on the corresponding functions in [MacroTools.jl](https://github.com/FluxML/MacroTools.jl) Imagine if we had totally general "walks" in Julia that don't require manual reimplementation for...
Totally, I'm not saying that generic walks is an immediate solution to all problems. The cleanest way here would be to have a `PlainText` type in markdown trees, or something...
The functionality is useful, but shouldn't really be a method of `hasproperty`: you don't do `getproperty` and `setproperty!` with optics, right? :) For Accessors optics, this check is performed by...
Does it work for you if `ConstructionBase.constructorof` is defined for your type? If not, please give a specific example. For me, #241/#280 fixed this issue.