generics
generics copied to clipboard
This seems like a consequence of choosing to parameterize entire modules (and permitting nesting of templates) rather than the approaches taken by other modern languages (see the comparison to Go,...
I'm trying to test out templates. I'm using Brad Richardson's tutorial examples as a starting point. I get the following message in the output windows when using LFortran. syntax error:...
The FortranCon 2020 presentation from Patrick Seewald on ["Generic Programming Techniques by example of a tensor contraction"](https://github.com/pseewald/fortran-einsum-example/blob/master/presentation.pdf) contains an excellent demonstration of a generic tensor class which would be difficult...
The Fortran-lang stdlib defines a function [`optval`](https://stdlib.fortran-lang.org/page/specs/stdlib_optval.html#optval-fallback-value-for-optional-arguments) that can be used to define provide a fallback value for an optional argument. The function is currently [implemented](https://github.com/fortran-lang/stdlib/blob/master/src/stdlib_optval.fypp) with the help of...
https://github.com/j3-fortran/generics/blob/4e273a9b394a0e48a217fcf307c0ddb598475dd2/J3-Papers/Generics_Requirements.txt#L214-L217 Does this mean subgroup is not considering type-bound procedures for 202y, or only that it'll be explored later and still planned for 202y? And to be clear, this means...
https://github.com/j3-fortran/generics/blob/4e273a9b394a0e48a217fcf307c0ddb598475dd2/J3-Papers/Generics_Requirements.txt#L196-L202 A colleague at LANL recently told me strong concepts sound cumbersome, in certain scenarios. For instance, if you have a deep tree of templated code, and you need to...
After yesterday's discussion on [22-120r2](https://github.com/j3-fortran/generics/blob/main/J3-Papers/Generics_Requirements.txt), I thought github issues would be a better vehicle for discussing different angles in parallel. I'll make a couple issues with some questions I have....
I have come across this blog post recently, which might be of some example for the utility of templates for such simulations. (I have no experience with "gas dynamics", so...