[J3] Thoughts on the semantics of generics

Van Snyder van.snyder at jpl.nasa.gov
Wed Aug 8 23:37:44 EDT 2018


On Wed, 2018-08-08 at 20:43 -0600, William Clodius via J3 wrote:
> (Note that as a consequence of creating generic
> subprograms I would expect that parameterized derived types be
> generalized to allow types as parameters.)

If we had done parameterized modules first, there wouldn't have been any
need for parameterized derived types, at least not with kind type
parameters.

I proposed a DIMENSION(<bounds-lists>) :: prefix for the
<allocate-object>s in an ALLOCATE statement.  That would go some
distance toward replacing length type parameters with allocatable
components.




More information about the J3 mailing list