Lispy vs Paredit: The convolute function

1 · Shane Mulligan · Aug. 14, 2019, noon
Summary
The following illustrates the difference between lispy’s convolute function and paredit’s convolute function. Original sexp (a a1 (b b1 (c c1 (d d1 (e) d9) c9) b9) a9) (special-lispy-convolute) binding C Swaps parent with grandparent including their elements. Current element holds still. Reversible. ;; Typing C on (c results in this (b b1 (a a1 (c c1 (d d1 (e) d9) c9) a9) b9) (paredit-convolute-sexp &optional N) binding M-P Swaps parent with grandparent including their elements....