Julia Programming Language
Avoiding rewriting accessor methods for new composite types with similar fields
General Usage
hendri54
April 22, 2021, 1:01pm
2
Lazy.jl
has a
@forward
macro that simplifies this:
3 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Is it ok to write interfaces that require field access on subtypes?
New to Julia
question
,
type
,
design
,
inheritance
6
503
May 8, 2023
Field overloading to flatten struct composition?
General Usage
1
504
February 26, 2018
I don't see any caveats in `Setfield.jl / Accessors.jl`, but I'm getting a method
General Usage
accessors
3
552
February 5, 2021
Merging composite types - multiple inheritance of fields/mixins
Internals & Design
inheritance
,
structtypes
3
854
April 21, 2018
Understanding specialized methods for field access
General Usage
question
,
type
,
struct
7
333
February 7, 2023