Re: Silly question about strings (was: Filenames in Ada)



<tmoran@xxxxxxx> wrote in message
news:1MadnQhFHPh0cRbenZ2dnUVZ_smdnZ2d@xxxxxxxxxxxxxx
> >> package Ada.Strings.Fixed is new
Ada.Strings.String_Base( Character );
> >...
> >Something like this was proposed as an 11th hour suggestion (this year).
> Since the generic type parameter is merely any discrete type, presumably
> you would support (with appropriate OS calls where needed):
> package Ada.Strings.Colors is new Ada.Strings.String_Base(Colors);
> package Ada.Strings.Unbounded_Integers
> is new Ada.Strings.Unbounded_String_Base(Integer):

Right. And there was some objection to that, given the overlap with the
containers library. (How would you decide to use an unbounded array of
integers or an vector of integers? They have similar sets of operations.)

Randy.



.



Relevant Pages

  • Re: Silly question about strings (was: Filenames in Ada)
    ... Since the generic type parameter is merely any discrete type, ... you would support: ... package Ada.Strings.Unbounded_Integers ...
    (comp.lang.ada)
  • Re: Unexpected error (8000ffff) when checking for windows updates
    ... match): package: ... Microsoft Product Support Services at 1-866-PCSAFETY. ... support calls that are associated with security updates. ... for updates via the Windows update app. ...
    (microsoft.public.windowsupdate)
  • Re: how is Haskell not robust?
    ... Haskell has not reached critical mass. ... have a thousand packages but still poor support for mainstream package ... If anyone would make money with the language or a compiler ...
    (comp.lang.functional)
  • new ppp package
    ... package contains the much requested PPP over ATM and MPPE support. ... * Add a patch from Herbert Xu to fix the PPPIOCDETACH bug. ... * Add the popp example script from Tomas Pospisek. ...
    (Debian-User)
  • RE: SSIS - FTP Error
    ... Dim pkg As Package = New Package ... I will send the error message and my script task code to you shortly. ... > Microsoft Online Partner Support ...
    (microsoft.public.sqlserver.dts)