Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 東京> (defpackage :京都 (:use :cl :大阪)) ; cl の他に大阪パッケージを use するように指定
- #<PACKAGE "京都">
- 東京> (in-package :京都) ;京都へ移動
- #<PACKAGE "京都">
- 京都> 支店長 ;大阪からエクスポートされた全シンボルは京都パッケージに共有される
- 1
- 京都> (symbol-package '支店長) ;京都の支店長は大阪の支店長であることが分かる
- #<PACKAGE "大阪">
- 京都>
Add Comment
Please, Sign In to add comment