Skip to content

Commit

Permalink
Reify SYMBOL-FUNCTION and add (SETF SYMBOL-FUNCTION)
Browse files Browse the repository at this point in the history
  • Loading branch information
davazp committed Apr 21, 2018
1 parent 86b6104 commit 98e2f0d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/symbol.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,8 @@

(defun get (symbol indicator &optional default)
(getf (symbol-plist symbol) indicator default))

(defun symbol-function (symbol)
(symbol-function symbol))

(defsetf symbol-function fset)

0 comments on commit 98e2f0d

Please sign in to comment.