From: Peter Amey <peter.amey@praxis-cs.co.uk>
Subject: Re: Why I like Ada
Date: Wed, 26 May 2004 08:44:54 +0100
Date: 2004-05-26T08:44:54+01:00 [thread overview]
Message-ID: <2hj035Fde12lU1@uni-berlin.de> (raw)
In-Reply-To: <KZSdnRSrxcYqJy7dRVn-vw@comcast.com>
Robert I. Eachus wrote:
> Bj�rn Persson wrote:
>
>> Preben Randhol wrote:
>>
>>> Ada
>>> After correctly packing your foot, you attempt to concurrently load
>>> the gun, pull the trigger, scream, and shoot yourself in the foot.
>>> When you try, however, you discover you can't because your foot is
>>> of the wrong type.
>>
>>
>>
>> You must of course use Unchecked_Conversion to be able to shoot
>> yourself in the foot. :-)
>
>
> ...and the difficulty of the instantiation for Unchecked_Conversion
> might give you a clue. (The formal result type of Unchecked_Conversion
> is Target. So if you want to convert to a (local) type Target, you have
> to use selected notation... ;-)
>
What, as in: "My.Foot"? Yes, that would concentrate the mind a bit.
Peter
next prev parent reply other threads:[~2004-05-26 7:44 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-22 0:39 Why I like Ada Fionn mac Cuimhaill
2004-05-22 14:11 ` Per Dalgas Jakobsen
2004-05-22 15:23 ` Preben Randhol
2004-05-22 16:27 ` Björn Persson
2004-05-25 21:29 ` Robert I. Eachus
2004-05-26 7:44 ` Peter Amey [this message]
2004-05-26 8:18 ` Ludovic Brenta
2004-05-26 16:15 ` Martin Krischik
2004-05-26 19:33 ` David Starner
2004-05-30 18:06 ` Richard Riehle
2004-05-30 18:17 ` Randy Brukardt
2004-05-30 19:09 ` Adrian Knoth
2004-05-31 13:27 ` Björn Persson
[not found] ` <inpkb0d57uiaf6970hk0ctj09orni4piea@4ax.com>
2004-05-31 2:07 ` Richard Riehle
2004-05-26 15:30 ` Wes Groleau
2004-06-01 3:57 ` Robert I. Eachus
2004-06-02 1:48 ` Jeffrey Carter
2004-06-02 5:13 ` Robert I. Eachus
2004-05-22 22:01 ` Wes Groleau
-- strict thread matches above, loose matches on Subject: below --
1994-12-02 9:44 Richard A. O'Keefe
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox