comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <pascal@obry.net>
Subject: Re: Array index overloading
Date: Wed, 06 Aug 2014 23:51:46 +0200
Date: 2014-08-06T23:51:46+02:00	[thread overview]
Message-ID: <1407361906.27487.32.camel@pascal.home.net> (raw)
In-Reply-To: dad0dc0f-80ff-4436-a380-298a3a933209@googlegroups.com

Le mercredi 06 août 2014 à 10:38 -0700, marmaduke.woodman@univ-amu.fr a
écrit :
> So V(2 .. 4) is possible, but is the equivalent V((2, 3, 4)) ? How
> about V((9, 1, 2)) 

V(9) & V(1) & V(2)

> or V(((3, 3), 

T'(1 => V (3));

If T is the base type of V.

> (4, 5)))?

V (4 .. 5)

> It seems these cases fall outside the intrinsic indexing support
> providing by Ada.

Not outside as described above.

-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://v2p.fr.eu.org
  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B


  parent reply	other threads:[~2014-08-06 21:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-06 16:47 Array index overloading marmaduke.woodman
2014-08-06 16:53 ` Pascal Obry
2014-08-06 17:38   ` marmaduke.woodman
2014-08-06 19:25     ` Georg Bauhaus
2014-08-06 19:43     ` Adam Beneschan
2014-08-06 21:51     ` Pascal Obry [this message]
2014-08-06 23:53     ` Shark8
2014-08-06 17:36 ` Peter Chapin
2014-08-07  5:17   ` 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