A number of mainstream Lisp dialects including Scheme and Common Lisp support a notation for encoding graph structure, with shared substructure and cycles. It's not always well-defined to use that in writing code (e.g. a program with cycles in its source code might work as intended with interpreted, but then a compiler chokes on it), but in literals it's always okay.