[Ecls-list] Latest changes

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Thu Feb 18 11:25:25 UTC 2010


On Thu, Feb 18, 2010 at 12:19 PM, Tobias C. Rittweiler <tcr at freebits.de> wrote:
> Marko Kocić <marko.kocic at gmail.com>
> writes:
>> As a tangential question, is there a way to tell if profile is
>> available or not before requiring it?
>
> I asked the same question (I think in a private mail, though) a few days
> ago. My local (uncommitted) version of swank-ecl.lisp uses
>
>  (eval-when (:compile-toplevel :load-toplevel :execute)
>    (when (probe-file "sys:profile.fas")
>      (require :profile)
>      (pushnew :profile *features*))
>    (when (probe-file "sys:serve-event.fas")
>      (require :serve-event)
>      (pushnew :serve-event *features*)))
>
> I do wonder if sys: is a good name, and whether a contrib: translation
> should instead be incorporated and used instead.

SYS: is a logical pathname for the directory where ECL stores things.
We could add a "contrib" directory making it sys:contrib;profile.fas,
but I feel it is complicating the setup too much. I also have strong
feelings against adding that many logical hostnames that may collide
with user's needs.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list