[comp.lang.fortran] parameterized derived types

lamson@sierra.steinmetz.ge.com (scott h lamson) (10/03/89)

I would like to hear others opinions concerning parameterized derived
data types.  They were removed from the first draft public review
document to the second.  From the users viewpoint, they seem very
important.  Not having them looks like fortran 77 without variable
length arrays in subroutines.  But there has to be a cost associated
with including them, and I am not sure I understand what the issues
are with having parameterized derived types.

With the ability to parameterize data types, you could define matrices
as data types.  There already are defined opeations for general
matrices, but there could be modules defining symmetric packed
matrices, or sparse matrices, and the required operations for them.
Maybe parameterized data types would be ok for the ways I would use
them, but there are other ways they could be used which would lead to
major difficulties in efficiency or implementation.  

any comments?

--
        Scott|  ARPA:      lamson@crd.ge.com
       Lamson|  UUCP:      uunet!crd.ge.com!lamson
(518)387-5795|  UUCP:      uunet!sierra.crd.ge.com!lamson