Skip to content

Instantly share code, notes, and snippets.

@aamirsahmad
Created July 10, 2019 21:39
(defun locatePositions (x list)
(loop for n from 1 to (length list)
when (= (nth n list) x)
collect n)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment