🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #161

Re: Fortran90 and Arrays

#161
From: Stephen P Spackman
Date: Sun, 12 Apr 1992 01:13
24 lines
1824 bytes
In article <id.6DTO.VWK@ferranti.com> peter@ferranti.com (Peter da Silva) writes:
|How about:
|
|	   The word `type' refers to the set of operations that may
|	   be performed on a collection of data.

This is still a little buggy. Consider the (constructed :-) example of
a language that has two mappings from the same _abstract_ type to the
same storage format - say 1-s and 2-s complement integers (or an int
and an unsigned both being used to hold numbers between 1 and 100, a
very common case in C).

Now the same "operations", like +, may be available for both, even
with the same meanings. But for SOME purposes we want to be able to
say that they have different types - certainly you can't reliably
substitute equals for equals between them without the language's
intervention.

There's definitely something to the "access path" approach, even in
the absence of explicit pointers.
----------------------------------------------------------------------
stephen p spackman         Center for Information and Language Studies
stephen@estragon.uchicago.edu                    University of Chicago
----------------------------------------------------------------------
Technical Details
Message-ID: <STEPHEN.92Apr11201347@estragon.uchicago.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!asuvax!ncar!uchinews!tira!stephen
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!cs.utexas.edu!asuvax!ncar!uchinews!tira!stephen
From: stephen@estragon.uchicago.edu (Stephen P Spackman)
Newsgroups: comp.lang.misc
Subject: Re: Fortran90 and Arrays
Message-ID: <STEPHEN.92Apr11201347@estragon.uchicago.edu>
Date: 12 Apr 92 01:13:38 GMT
References: <ROCKWELL.92Mar21001252@socrates.umd.edu>
 <ROCKWELL.92Apr8001532@socrates.umd.edu>
 <1992Apr8.180420.9294@newshost.lanl.gov> <id.6DTO.VWK@ferranti.com>
Sender: news@uchinews.uchicago.edu (News System)
Organization: University of Chicago CILS
Lines: 24
In-Reply-To: peter@ferranti.com's message of Sat, 11 Apr 1992 20:33:21 GMT