From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f868292008c639ce X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: 'img Date: 2000/05/25 Message-ID: <8gj08o$2u$1@nnrp1.deja.com>#1/1 X-Deja-AN: 627098769 References: <390F0D93.F835FAD9@ftw.rsc.raytheon.com> <8en5o9$ihe$1@nnrp1.deja.com> <8eonos$e70$1@wanadoo.fr> <1fIU4.4668$Rx3.250161@typhoon.nyroc.rr.com> <8g8p31$a2s$1@nnrp1.deja.com> <8ggjg3$hbq$1@infosun2.rus.uni-stuttgart.de> <8gh9lr$ppe$1@nnrp1.deja.com> <8ghcbh$rnj$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x73.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Thu May 25 10:45:47 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-05-25T00:00:00+00:00 List-Id: In article <8ghcbh$rnj$1@nnrp1.deja.com>, Ted Dennison wrote: > Hmmm. Even neater would be to make it a primitive operator attribute > that can be overidden with a "for" clause, like 'Write. Then folks could > derive a new integer type and make its 'Img format the output however > they like. Even neater? This is of course easy to implement, but not particularly useful, since the difference between writing X'Img and Img(X) is small, and the advantage of the latter is that it can be used with expressions which of course the attribute cannot. Sent via Deja.com http://www.deja.com/ Before you buy.