🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #187

Re: Fortran90 and Arrays

#187
From: Jim Giles
Date: Mon, 13 Apr 1992 20:09
20 lines
1568 bytes
In article <id.6DTO.VWK@ferranti.com>, peter@ferranti.com (Peter da Silva) writes:
|> [...]                    , I think your definition of
|> the word "type" is a little narrow. How about:
|> 
|> 	The word `type' refers to the set of operations that may
|> 	be performed on a collection of data.

You mean, like whether coercion to integer can be done without loss
of precision?  Things like that?  The thing is that _all_ attributes,
even those conventionally regarded as `value', effect the set of
operations that may be performed on the data.  I can define an operation
which will only work on prime-number arguments - does this make primeness
a `type' attribute?

Once again, your definition doesn't actually specify any criterion for
deciding which attributes of the data are `type' and which aren't.  You
can _arbitrarily_ select a few kinds of attributes which you will call
`type' if you want to.  What purpose will such an exercise serve?

J. Giles
Technical Details
Message-ID: <1992Apr13.200925.19646@newshost.lanl.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!lanl!cochiti.lanl.gov!jlg
References: <ROCKWELL.92Mar21001252@socrates.umd.edu> <ROCKWELL.92Apr8001532@socrates.umd.edu> <1992Apr8.180420.9294@newshost.lanl.gov> <id.6DTO.VWK@ferranti.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!lanl!cochiti.lanl.gov!jlg
From: jlg@cochiti.lanl.gov (Jim Giles)
Newsgroups: comp.lang.misc
Subject: Re: Fortran90 and Arrays
Message-ID: <1992Apr13.200925.19646@newshost.lanl.gov>
Date: 13 Apr 92 20:09:25 GMT
Article-I.D.: newshost.1992Apr13.200925.19646
References: <ROCKWELL.92Mar21001252@socrates.umd.edu> <ROCKWELL.92Apr8001532@socrates.umd.edu> <1992Apr8.180420.9294@newshost.lanl.gov> <id.6DTO.VWK@ferranti.com>
Sender: news@newshost.lanl.gov
Organization: Los Alamos National Laboratory
Lines: 20