comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Diamond diagram for 'with'
Date: Thu, 22 Feb 2018 17:29:19 -0600
Date: 2018-02-22T17:29:19-06:00	[thread overview]
Message-ID: <p6njog$k0b$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: p6m2e3$4bj$1@dont-email.me

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 895 bytes --]

"J-P. Rosen" <rosen@adalog.fr> wrote in message 
news:p6m2e3$4bj$1@dont-email.me...
> Le 22/02/2018 à 09:33, Dmitry A. Kazakov a écrit :
>> I am keeping on avoiding "limited with", and the only time I lowered my
>> guard, it bite me! (:-))
> Yes, limited with is a bit of a hack, but remember that the ARG had to
> solve the issue of mutual dependency, and 6 other non-working solutions
> were considered before this one, not very clean, but that worked!

At least two of those other solutions would have worked, but they were 
considered even more of a hack. (I know the "external incomplete type" 
solution would have worked, because it's basically the same semantically, 
but there were concerns about having (weak) dependencies not exposed in the 
context clause. We fixed that with a context clause declaration, but then it 
really looked like a hack.)

                            Randy.


  reply	other threads:[~2018-02-22 23:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-21 16:20 Diamond diagram for 'with' Dmitry A. Kazakov
2018-02-22  1:38 ` Randy Brukardt
2018-02-22  8:33   ` Dmitry A. Kazakov
2018-02-22  9:27     ` J-P. Rosen
2018-02-22 23:29       ` Randy Brukardt [this message]
2018-02-22 10:53     ` briot.emmanuel
replies disabled

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