Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Made the DEFUN-MEMOIZED macro reference the symbol SECOND rather that…

… the

function #'SECOND (the function is resolved later in the compilation).  This
means that you can now compile a file containing a DEFUN-MEMOIZED into a .fasl
file.
  • Loading branch information...
commit 96e865b5be6bd4de928a0b3795844c5d526e4d58 1 parent 3b93229
authored June 20, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  dynamic-programming.lisp
2  dynamic-programming.lisp
@@ -76,7 +76,7 @@ For in-depth examples, see the documentation."
76 76
                        &key return-cache (persistent (not return-cache))
77 77
                        (arg-fn ''identity)
78 78
                        access-fn setter-fn
79  
-                       (cache-test #'second)
  79
+                       (cache-test ''second)
80 80
                        (storage '(make-hash-table :test 'equal)) )
81 81
       (ensure-list name-spec)
82 82
     (with-gensyms (cache args processed-args query sol)

0 notes on commit 96e865b

Please sign in to comment.
Something went wrong with that request. Please try again.