🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #543

Oberon-2: Type Bound Proc question

#543
From: Larry M. Jordan
Date: Fri, 21 Aug 1992 18:34
16 lines
604 bytes
Given:

	TYPE
	  T0 = RECORD END;
	  T1 = POINTER TO T0;


	PROCEDURE (t: T1) p1; END p1;

	PROCEDURE (t: T0) p2; END p2;

Is procedure 'p1' bound to type T0 or type T1 or both?

Is procedure 'p2' bound only to type T0?

--Larry %)
Technical Details
Message-ID: <1992Aug21.183459.26940@aero.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!usc!aero.org!jordan

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!usc!aero.org!jordan
From: jordan@aero.org (Larry M. Jordan)
Subject: Oberon-2: Type Bound Proc question 
Message-ID: <1992Aug21.183459.26940@aero.org>
Sender: news@aero.org
Organization: The Aerospace Corporation
Date: Fri, 21 Aug 1992 18:34:59 GMT
Lines: 17