comp.lang.ada
 help / color / mirror / Atom feed
From: stef@heron.cfmu.eurocontrol.be (Stef Van Vlierberghe)
Subject: Re: Newbie Generic Reg Exp Pattern Matching Question
Date: Tue, 4 Oct 1994 22:03:58 GMT
Date: 1994-10-04T22:03:58+00:00	[thread overview]
Message-ID: <STEF.94Oct4230359@heron.cfmu.eurocontrol.be> (raw)
In-Reply-To: eachus@spectre.mitre.org's message of 4 Oct 94 11:29:39

In article <EACHUS.94Oct4112939@spectre.mitre.org> eachus@spectre.mitre.org (Robert I. Eachus) writes:

       generic
         type LP is limited private;
         with function Equal(L,R: LP) return Boolean;
       function "="(L,R: LP) return Boolean;


The name of a generic must be an identifier, so if your compiler accepts
this, report a bug to the vendor ;-)

       generic
         type LP is limited private;
         with function Equal(L,R: LP) return Boolean;
       package GOODENOUGH_TRICK is
         function "="(L,R: LP) return Boolean;
       end;
--
Stef VAN VLIERBERGHE            Eurocontrol - Central Flow Management Unit
stef@cfmu.eurocontrol.be        Avenue des Arts 19H
Tel: +32 2 729 33 42            B-1040 BRUSSELS
Fax: +32 2 729 32 16            Belgium



  reply	other threads:[~1994-10-04 22:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-10-03 14:54 Newbie Generic Reg Exp Pattern Matching Question Jimmy Fang
1994-10-04 11:29 ` Robert I. Eachus
1994-10-04 22:03   ` Stef Van Vlierberghe [this message]
1994-10-05  2:21   ` Tucker Taft
1994-10-11 16:10     ` William Fang
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox