# How to access the parameter list of a super type

**URL:** <https://discourse.julialang.org/t/how-to-access-the-parameter-list-of-a-super-type/11739>\
**Category:** General Usage\
**Created:** [June 17, 2018, 10:55pm UTC](https://discourse.julialang.org/t/how-to-access-the-parameter-list-of-a-super-type/11739 "2018-06-17T22:55:34Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jandehaan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jandehaan/32/6805_2.png) [@jandehaan](https://discourse.julialang.org/u/jandehaan)\
**Post date:** [June 18, 2018, 12:47am UTC](https://discourse.julialang.org/t/how-to-access-the-parameter-list-of-a-super-type/11739/3 "2018-06-18T00:47:04Z")

</div>

> [@Philip\_Stuckey](#):
>
> struct X{F,Y, Z} \<: DEF{Tuple{F, Y, Z} } end

The internal structure of type X is somewhat convoluted, but you can retrieve the individual type parameters as follows (Julia v0.6.2):

```julia
julia> X.var
F

julia> X.body.var
Y

julia> X.body.body.var
Z
```

---

_[View the full topic](https://discourse.julialang.org/t/how-to-access-the-parameter-list-of-a-super-type/11739)._
