Created
May 7, 2010 19:22
-
-
Save cametan001/393896 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CL-USER> *h* | |
The variable *H* is unbound. | |
[Condition of type UNBOUND-VARIABLE] | |
; Evaluation aborted. | |
CL-USER> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defpackage :hello-system (:use :asdf :cl)) | |
(in-package :hello-system) | |
(defsystem hello | |
:name "hello" | |
:author "" | |
:version "" | |
:maintainer "" | |
:licence "" | |
:description "" | |
:long-description "" | |
:components | |
((:file "packages") | |
(:file "string-of-hello-world" :depends-on ("packages")) | |
;; body-of-hello-world.lisp は packages.lisp と string-of-hello-world.lisp に依存している | |
(:file "body-of-hello-world" :depends-on ("packages" "string-of-hello-world")))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CL-USER> (asdf:operate 'asdf:load-op :hello) | |
; loading system definition from /home/cametan/hello/hello.asd into | |
; #<PACKAGE "ASDF0"> | |
; registering #<SYSTEM HELLO {B4E73E1}> as HELLO | |
NIL | |
CL-USER> (use-package :hello) | |
T | |
CL-USER> (hello-world) | |
Hello, World! | |
"Hello, World!" | |
CL-USER> (symbol-package 'hello-world) | |
#<PACKAGE "HELLO"> | |
CL-USER> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment