Skip to main content
edited tags
Link
Drew
  • 79.1k
  • 10
  • 123
  • 257
Post Closed as "Duplicate" by Basil, Drew, Dan
Source Link

' versus #' what are the differences and when should I choose one over the other?

Both seem to work equally well when mapping a function over a list, for example.

(mapcar #'1+ (list 1 2 3))
;; => (2 3 4)
(mapcar '1+ (list 1 2 3))
;; => (2 3 4)