Julia Programming Language
Parametric supertyping using struct field parameters
General Usage
question
jishnub
May 30, 2022, 3:49pm
2
struct Bar{T, F <: AbstractFoo{T}} <: AbstractFoo{T} foo::F end
Should work
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Parametric types help
New to Julia
1
332
January 29, 2021
Dispatch on both parametrized and non-parametrized type
General Usage
question
4
527
January 3, 2017
Problem: setting up parametric struct
New to Julia
3
311
March 22, 2021
Generic type parametrized by supertype
General Usage
question
5
674
March 7, 2021
Getting parent's parametric types parameter
General Usage
parametric-types
10
815
May 22, 2019