Julia Programming Language
Get the type parameters of a parametric type
New to Julia
type
,
parametric-types
sylvaticus
April 21, 2024, 8:44pm
4
Perhaps:
get_parameter_type(::MyStruct{T}) where T = T
4 Likes
Public interface to get all type parameters?
show post in topic
Related topics
Topic
Replies
Views
Activity
Public interface to get all type parameters?
General Usage
parametric-types
6
150
September 18, 2024
How to get the parameter of a parameteric type wihtout looking at the fields
General Usage
0
200
September 29, 2022
Difference between Type.parameters and Type.types
General Usage
4
155
March 6, 2023
Get type of field in parametric type
General Usage
parametric-types
4
5808
January 12, 2018
How to recover the parameters of a parametric type?
New to Julia
parametric-types
7
615
June 10, 2020