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]. 

Now that is *really* a heresy.

If this were a nice lambda-calculus kind of world, you could say (v n).

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