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

Re: how to make a vector of constants?



Hugh Greene <q@tardis.ed.ac.uk> wrote in message
Pine.GSO.3.96.1000307170209.10480C-100000@tardis.tardis.ed.ac.uk">news:Pine.GSO.3.96.1000307170209.10480C-100000@tardis.tardis.ed.ac.uk...
> Using "#[]" versus "vector()" is a bit of a Dylan gotcha and
> should probably be in a FAQ somewhere.  Basically, only use "#[]" if
> everything inside is a *literal* (not just a constant); otherwise use
> "vector()".

This should definitely be in a FAQ somewhere.  I got tied down for two days
tracking down this simple solution last year....  :-)




Follow-Ups: References: