🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #193

Re: What is a type? (was Re: Fortran90 and Arrays)

#193
From: David Gudeman
Date: Tue, 14 Apr 1992 00:35
22 lines
1341 bytes
In article  <STEPHEN.92Apr13034706@estragon.uchicago.edu> Stephen P Spackman writes:
]
]Nononono! If this were an accurate description, then the type would be
]stored in a field (possibly optimisaed away!) whose type was described
]by a field of type ? and value "type", whose type is described by a
]field of type ?? and value ?, whose type is described by a field of
]type ??? and value ??, whose....
]
]So you have to do an INFINITE amount of optimisation to get a finite
]programme.

In the first place, the idea of the type of types can be made sound
and usable, it does not require any infinite work.  In the second
place, you have to distinguish between the abstraction and the
implementation.  Abstractly, you don't "store" the type anywhere, it
is just a function of the value.  Implementationally, the type may be
stored in a field, but then it is just an unsigned int, and recursive
types don't come into it.
-- 
					David Gudeman
gudeman@cs.arizona.edu
noao!arizona!gudeman
Technical Details
Message-ID: <15258@optima.cs.arizona.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!asuvax!ncar!noao!arizona!gudeman

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!asuvax!ncar!noao!arizona!gudeman
From: gudeman@cs.arizona.edu (David Gudeman)
Newsgroups: comp.lang.misc
Subject: Re: What is a type? (was Re: Fortran90 and Arrays)
Message-ID: <15258@optima.cs.arizona.edu>
Date: 14 Apr 92 00:35:20 GMT
Organization: U of Arizona CS Dept, Tucson
Lines: 22