bowbow99 / xyzzy.ansify

Common Lisp の xyzzy にないもの詰め合わせ予定地
MIT License
6 stars 0 forks source link

シンボルの衝突を解決できるように #12

Open bowbow99 opened 13 years ago

bowbow99 commented 13 years ago

CLHS: 11.1.1.2.5 Prevention of Name Conflicts in Packages

Within one package, any particular name can refer to at most one symbol. A name conflict is said to occur when there would be more than one candidate symbol. Any time a name conflict is about to occur, a correctable error is signaled. ... -- Continuing from a name-conflict error must offer the user a chance to resolve the name conflict in favor of either of the candidates. The package structure should be altered to reflect the resolution of the name conflict, via shadowing-import, unintern, or unexport.

解決できなきゃいけないようだ。

bowbow99 commented 13 years ago

解決できるようにするのは restart を用意するんだけど、restart 用意してエラー投げてもそこから restart 選んで起動できるインターフェースが無いとあまり意味がない悪寒。