Is a really bad Ruby-tier idea. 1. Lisp isn't C/C++ to support references to references. 2. It breaks abstraction.
The proper way to do it is by introducing explicit locate function, which is similar to find, but returns a path inside said structure to the element. For array it would be just an index of said element, for tree a path inside said tree.
Name:
Anonymous2019-10-16 6:40
`(a ,'(c d e) b)
Name:
Anonymous2019-10-16 7:50
(def part (f . args) (fn rest (apply f (append args rest))))
(def insert (f x ys) (if (no ys) (list x) (f x (car ys)) (cons x ys) (cons (car ys) (insert f x (cdr ys)))))
Now this is a story all about how My life got flipped turned upside down And I'd like to take a minute, while my memory's crisp I'll tell you how I became the prince of a code called Bel Lisp