7.2.10 delete

Syntax

(delete [this|previous|next])

or

(take [this|previous|next])

Description

Delete the indicated expression. Prefer previous and next as those are deterministic in the placement of point after the transformation, i.e., they don’t need to move point.

Examples

"Swap current and previous expression."

(symex-eval
  (symex-traversal
    (do (take previous)
        (drop after))))