Re: package frenzy
- From: Pascal Costanza <pc@xxxxxxxxx>
- Date: Mon, 30 May 2005 14:58:14 +0200
Joris Bleys wrote:
Maybe, I was a bit unclear with my problem statement. The symbol is not part of the API and should remain unvisible for the users of :exporting-package. So I guess what I want to do is to make sure that the result of the call to the read-line fn returns a symbol inside the :exported-package, but I don't know how to do so. Both ep-internal-fn and ep-external-fn are defined in the package :exporting-package (using in-package).
Maybe you want (intern string :exporting-package) instead of read-line?
But indeed this sounds like a strange attempt. It sounds as if you wanted to use packages just to get more efficient string comparisons. Wouldn't a hashtable be good enough for such a purpose?
If you rely on "TEST" giving you some specialized behavior, that would indeed be part of your interface...
Pascal
-- 2nd European Lisp and Scheme Workshop July 26 - Glasgow, Scotland - co-located with ECOOP 2005 http://lisp-ecoop05.bknr.net/ .
- Follow-Ups:
- Re: package frenzy
- From: Joris Bleys
- Re: package frenzy
- From: Pascal Costanza
- Re: package frenzy
- References:
- Re: package frenzy
- From: Paul F. Dietz
- Re: package frenzy
- From: Joris Bleys
- Re: package frenzy
- Prev by Date: Re: package frenzy
- Next by Date: Re: Macros and symbols across packages
- Previous by thread: Re: package frenzy
- Next by thread: Re: package frenzy
- Index(es):
Relevant Pages
|
|