🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #1106

Re: Generic Lists in Modula-2

#1106
From: Chip Richards
Date: Sun, 26 Aug 1990 02:17
18 lines
1094 bytes
Thomas,

 >   TYPE CallBackProcType = PROCEDURE (SYSTEM.ADDRESS);

Excellent idea.  Very similar to something we implemented in a compiler run-time some years ago, though ours was in assembly and not nearly as pretty!

 > The ugly thing about this solution is that SYSTEM is again used in the
 > definition module. But that's the way with genericity in MODULA-2...

Why wouldn't (VAR ARRAY OF WORD) work just as well, without being SYSTEM-dependent?

Chip


--  
uucp: uunet!m2xenix!puddle!114!18.3!Chip.Richards
Internet: Chip.Richards@p3.f18.n114.z1.fidonet.org
Technical Details
Message-ID: <386.26D81C9B@puddle.fidonet.org>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!zephyr.ens.tek.com!tektronix!nosun!qiclab!m2xenix!puddle!p3.f18.n114.z1.fidonet.org!Chip.Richards

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!zephyr.ens.tek.com!tektronix!nosun!qiclab!m2xenix!puddle!p3.f18.n114.z1.fidonet.org!Chip.Richards
From: Chip.Richards@p3.f18.n114.z1.fidonet.org (Chip Richards)
Newsgroups: comp.lang.modula2
Subject: Re: Generic Lists in Modula-2
Message-ID: <386.26D81C9B@puddle.fidonet.org>
Date: 26 Aug 90 02:17:51 GMT
Sender: ufgate@puddle.fidonet.org (newsout1.26)
Organization: FidoNet node 1:114/18.3 - Iasd Eng Bbs, Phoenix Az
Lines: 18