From: Georg Bauhaus <rm.tsoh+bauhaus@maps.futureapps.de>
Subject: Re: prefixed view
Date: Thu, 06 Dec 2007 19:00:18 +0100
Date: 2007-12-06T19:00:22+01:00 [thread overview]
Message-ID: <475838b6$0$17528$9b4e6d93@newsspool4.arcor-online.net> (raw)
In-Reply-To: <8727544b-2f4f-4817-bb2e-20d4d104ae5d@w34g2000hsg.googlegroups.com>
Maxim Reznik schrieb:
> Hi, all
>
> I'm trying to understand how prefixed calls work in Ada 2005. Here is
> an example:
>
> package pref_view is
> type Tg is tagged null record;
> procedure X (Item : Tg; Count : Integer);
>
> Object : Tg;
>
> procedure Y (Count : Integer) renames Object.X;
Should the result be a procedure that is always invoked with
Object, and only with Object? This will be currying, right?
next prev parent reply other threads:[~2007-12-06 18:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-06 16:06 prefixed view Maxim Reznik
2007-12-06 18:00 ` Georg Bauhaus [this message]
2007-12-06 18:32 ` Maxim Reznik
2007-12-06 23:36 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox