comp.lang.ada
 help / color / mirror / Atom feed
From: "Alejandro R. Mosteo" <alejandro@mosteo.com>
Subject: Re: Mixing operators and dot notation
Date: Mon, 6 Jun 2016 15:51:27 +0200
Date: 2016-06-06T15:51:27+02:00	[thread overview]
Message-ID: <nj3v50$13s$1@dont-email.me> (raw)
In-Reply-To: <fe0d3b8d-0849-42ff-8b94-65fdff9c42ea@googlegroups.com>

On 06/06/16 10:14, briot.emmanuel@gmail.com wrote:
>> My solution used a base generic as formal for all subsequent formals,
>> and it was the first time I saw the need for that, so it was quite engaging.
>
> it is indeed a powerful approach.
> The Ada standard calls them signature packages, other languages sometimes
> call them traits. D calls them policy-based containers, I think.
>
>
> We are working on a containers library using this, so that algorithms, for instance,
> can be made independent of containers, and that users can configure a lot of the
> behavior of containers (checks or not, bounded or not, definite or indefine
> elements) by the proper usage of formal package parameters.
> See https://github.com/AdaCore/ada-traits-containers if you want more info.
>
> Look at the docs for some of the rationales behind the current design choices.

Now I remember I saw some discussion about this project. Perhaps in 
AdaCore's blog? Thanks, I will take a look.

Álex.


  reply	other threads:[~2016-06-06 13:51 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-02 21:38 Mixing operators and dot notation Alejandro R. Mosteo
2016-06-02 21:42 ` Alejandro R. Mosteo
2016-06-02 22:28 ` Robert A Duff
2016-06-02 23:26   ` Randy Brukardt
2016-06-03 11:09     ` Alejandro R. Mosteo
2016-06-03 12:19       ` Dmitry A. Kazakov
2016-06-03 14:45       ` G.B.
2016-06-03 17:31       ` Shark8
2016-06-03 20:41         ` Alejandro R. Mosteo
2016-06-06  8:14           ` briot.emmanuel
2016-06-06 13:51             ` Alejandro R. Mosteo [this message]
2016-06-07 11:24             ` Traits and iterators (was: Mixing operators and dot notation) Alejandro R. Mosteo
2016-06-08  7:31               ` briot.emmanuel
2016-06-08 11:18                 ` Traits and iterators Alejandro R. Mosteo
2016-06-06  8:10       ` Mixing operators and dot notation briot.emmanuel
2016-06-06 13:58         ` Alejandro R. Mosteo
2016-06-02 23:05 ` Jeffrey R. Carter
replies disabled

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