This is the mail archive of the guile@cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bracket heresies. What about subscripting?



> (vector-ref v n) is a very clumsy way of getting element n in a 
> vector v; I am still enough of C/Pascal/Basic person at heart 
> to have to stop myself from saying v[n].

If you were writing nice functional code I don't think you'd be using
vectors as a data structure very much. Better make that two icy cold
showers and a full weekend of SICP :-).

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]