implicit indexing

Notices and updates
Locked
eddier
Posts: 289
Joined: Mon Oct 07, 2002 2:48 pm
Location: Blue Mountain College, MS US

implicit indexing

Post by eddier »

Neat! I've not seen anything quite like this before. The first thing after a non-quoted list is not interpreted as a function.

Code: Select all

> (setq a '((1 2) 3))
((1 2) 3)
> (a 1)
3
> 
Thyping (a 1 2) is as easy to type as a[1][2] and maybe as easy to read?

Eddie

Locked