What is Nostr?
Louis :emacs: /
npub1tp9…dzfn
2024-05-09 18:15:26

Louis :emacs: on Nostr: TIL: Function designators in Common Lisp: (funcall 'foo 0) (funcall #'foo 0) Both ...

TIL: Function designators in Common Lisp:
(funcall 'foo 0)
(funcall #'foo 0)

Both work, however, if there is a function named FOO in the lexical environment (i.e. via FLET/LABELS), #' (= FUNCTION) will use that while ' (= QUOTE) will always ignore the lexical environment.

#commonlisp
Author Public Key
npub1tp9e9qhmc02khh3jzpn8vmqwhj3u25yw352ed2x87zs4e2ps2uwqhadzfn