# Containers using F202Y's generic programming

**URL:** <https://fortran-lang.discourse.group/t/containers-using-f202ys-generic-programming/10484>\
**Category:** Help\
**Created:** [November 11, 2025, 12:04pm UTC](https://fortran-lang.discourse.group/t/containers-using-f202ys-generic-programming/10484 "2025-11-11T12:04:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kkifonidis](https://avatars.discourse-cdn.com/v4/letter/k/898d66/32.png) [@kkifonidis](https://fortran-lang.discourse.group/u/kkifonidis)\
**Post date:** [November 11, 2025, 6:10pm UTC](https://fortran-lang.discourse.group/t/containers-using-f202ys-generic-programming/10484/2 "2025-11-11T18:10:19Z")

</div>

I won’t speak for the committee’s planned “templates”.

But what you are looking for will definitely be possible with our [traits proposal](https://fortran-lang.discourse.group/t/traits-generics-and-modern-day-oo-for-fortran/8426) that @certik is about to prototype in the LFortran compiler:

> **[GitHub - difference-scheme/Traits-for-Fortran: Traits, generics, and modern-day OOP proposal for...](https://github.com/difference-scheme/Traits-for-Fortran)**
>
> Traits, generics, and modern-day OOP proposal for Fortran

See Section 6.4 of this proposal for a simple `Vector`example, and also this [thread](https://fortran-lang.discourse.group/t/parameterized-derived-types-and-type-extensions/10379/6) for further illustration.

@certik and team are presently making excellent progress on implementing Fortran’s legacy polymorphism, in the framework of getting LFortran to beta status. Once they’re done with this, we can expect them to start implementation work on the new traits and generics facilities.

It will get done. We just need to be a bit patient.

---

_[View the full topic](https://fortran-lang.discourse.group/t/containers-using-f202ys-generic-programming/10484)._
