[Prev][Next][Index][Thread]

Re: [ANNC] Basic Dylan FAQ updated and available for review



Hugh Greene wrote:
> 
> On Wed, 7 Jun 2000, Carl L. Gay wrote:
> > dauclair@hotmail.com wrote:
> > >
> > > A basic and forming Dylan FAQ is available at
> > > http://www.geocities.com/dylan_programmer/FAQ.html.  Please review it.
> >
> > It's great to see someone getting this going!
> >
> > The GeoCities ads are truly annoying ...
> 
> If you read the info about them, they "fold up" after a short time, and you
> can always dismiss them by clicking on the "X" button.  Better than animated
> banner ads, I think!

If you have to read enough to figure that out then you've already lost.
 
> > Another "gotcha" could be that you can't initialize a limited
> > sequence directly.  ...  I think the best one can do is:
> >
> >   define constant foo :: <int-vector> = make(<int-vector>, size: 3);
> >   for (i from 0 below 3)
> >     foo[i] := #[1, 2, 3][i];
> >   end;
> 
> I'd do
> 
>     define constant foo :: <int-vector> = as(<int-vector>, #[1, 2, 3]);

I thought of that but assumed it wouldn't work because <int-vector>
isn't part of the language.  I'll try it next time I'm in Windows.



References: