comp.lang.ada
 help / color / mirror / Atom feed
From: Duncan Sands <baldrick@free.fr>
To: comp.lang.ada@ada-france.org
Cc: Matthew Heaney <mheaney@on2.com>
Subject: Re: How difficult is ada to learn?
Date: Thu, 30 Jun 2005 17:00:33 +0200
Date: 2005-06-30T17:00:33+02:00	[thread overview]
Message-ID: <mailman.119.1120143652.17633.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <42c40313$0$32193$39cecf19@news.twtelecom.net>

> > Most people who start with Borland Pascal miss the built-in set and
> > string data types. Ada gets the same effects with packages, but the
> > syntax is far less elegant and readable.
> 
> I haven't done any Pascal in a while, so I don't remember the syntax for 
> set manipulation, but Ada 2005 will have a set container type.  It's an 
> abstract data type, declared in a package in the normal way.  It 
> supports union, intersection, etc.

Don't forget that arrays of booleans automatically have "and", "xor" and "or"
defined (i.e. intersection, symmetric difference and union), so can be used for
sets.

All the best,

Duncan.



  reply	other threads:[~2005-06-30 15:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-30  0:44 How difficult is ada to learn? Sm704
2005-06-30  5:11 ` Ludovic Brenta
2005-06-30  6:15   ` Preben Randhol
2005-06-30 14:19 ` Gene
2005-06-30 14:34   ` Matthew Heaney
2005-06-30 15:00     ` Duncan Sands [this message]
2005-06-30 18:38     ` Gene
2005-06-30 19:32       ` Matthew Heaney
2005-06-30 18:59     ` Randy Brukardt
2005-06-30 19:36       ` Matthew Heaney
2005-06-30 15:01   ` Matthew Heaney
2005-06-30 22:35     ` Robert A Duff
2005-07-15  2:27       ` Waldek Hebisch
2005-07-15  5:14         ` Ludovic Brenta
2005-07-01  5:37     ` Jeffrey Carter
2005-06-30 16:43 ` Martin Krischik
2005-06-30 19:36 ` svaa
2005-06-30 22:53 ` chris
2005-06-30 22:54   ` chris
2005-07-01  5:39   ` Jeffrey 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