# Heterogeneous list

**URL:** https://fortran-lang.discourse.group/t/heterogeneous-list/4677
**Category:** Uncategorized
**Created:** [November 7, 2022, 7:56pm UTC](https://fortran-lang.discourse.group/t/heterogeneous-list/4677 "2022-11-07T19:56:09Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![FortranFan](https://avatars.discourse-cdn.com/v4/letter/f/96bed5/32.png) [@FortranFan](https://fortran-lang.discourse.group/u/FortranFan)
#### Post date: [November 8, 2022, 3:52pm UTC](https://fortran-lang.discourse.group/t/heterogeneous-list/4677/9 "2022-11-08T15:52:27Z")

</div>

> [@What is a pure function?](https://fortran-lang.discourse.group/t/what-is-a-pure-function/4654/27):
>
> Heterogeneous lists in Fortran would have made my PhD so much easier. An extremely useful feature to have if you want to experiment with different finite element discretisations in unstructured geometries.

@gnikit, as I have been trying to convey, it is accepted the usefulness and benefits of having heterogenous lists in Fortran code, particularly in “setting up” computations (the so-called preprocessing layers) and consuming and presenting the results (post-processing) from all the number-crunching. Staring Fortran 2003 thru’ the 2008, 2018, 2023 revisions, the language does support such lists. The question is different as noted upthread.

---

_[View the full topic](https://fortran-lang.discourse.group/t/heterogeneous-list/4677)._
