Plaster

common-lisp
(defun format-coords (coords) (with-output-to-string (out) (loop with first = t for label in '("x" "y" "z" "t") for coord in coords when coord do (if first (setq first nil) (write-string ", " out)) (write-string label out) (write-string ": " out) (princ coord out))))

Annotations