Skip to content

Commit

Permalink
Change MAP NIL to DOLIST in build-app.lisp
Browse files Browse the repository at this point in the history
  • Loading branch information
Cole Scott authored and notmgsk committed Sep 22, 2020
1 parent cb85240 commit c292f76
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions build-app.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,9 @@
;; Load systems defined by environment variable $ASDF_SYSTEMS_TO_LOAD,
;; or if that does not exist just load quilc
(let ((systems (uiop:getenv "ASDF_SYSTEMS_TO_LOAD")))
(map nil (lambda (sys)
(unless (uiop:emptyp sys)
(asdf:load-system sys)))
(uiop:split-string (or systems "quilc")
:separator " ")))
(dolist (sys (uiop:split-string (or systems "quilc") :separator " "))
(unless (uiop:emptyp sys)
(asdf:load-system sys))))
;; TODO Fix tweedledum
;; #-win32
;; (asdf:load-system "cl-quil/tweedledum")
Expand Down

0 comments on commit c292f76

Please sign in to comment.