Skip to content

Commit

Permalink
Remove KOAN-DIR-NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
phoe committed May 5, 2020
1 parent c69a888 commit e079b92
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lisp-koans.lsp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@

(in-package :com.google.lisp-koans)

(defvar *koan-dir-name* "koans")

(defvar *all-koan-groups*
(with-open-file (in #p".koans")
(with-standard-io-syntax (read in))))
Expand All @@ -40,7 +38,7 @@
(make-package koan-package-name
:use '(#:common-lisp #:com.google.lisp-koans.test)))
(let ((*package* (find-package koan-package-name)))
(load (concatenate 'string *koan-dir-name* "/" koan-file-name)))))
(load (concatenate 'string "koans/" koan-file-name)))))

(defun load-all-koans ()
(loop for koan-group-name in *all-koan-groups*
Expand Down

0 comments on commit e079b92

Please sign in to comment.