Arc Forum
new
|
comments
|
leaders
|
submit
login
1 point
by
Pauan
4997 days ago |
link
|
parent
Oh! By the way, I could define it so plists work with and without keyword symbols:
('(x 1 y 2) 'y) -> 2 ('(:x 1 :y 2) 'y) -> 2 ('(:x 1 :y 2) ':y) -> 2
This would also let you use arbitrary lists as indexes:
('((a b) 1 (c d) 2) '(c d)) -> 2