Email list hosting service & mailing list manager

Questions, loose ends, misprints, etc. Andre van Tonder (01 Dec 2005 15:00 UTC)
Re: Questions, loose ends, misprints, etc. Matthew Flatt (01 Dec 2005 16:00 UTC)
Re: Questions, loose ends, misprints, etc. Per Bothner (01 Dec 2005 17:21 UTC)
Re: Questions, loose ends, misprints, etc. Matthew Flatt (01 Dec 2005 17:27 UTC)
Re: Questions, loose ends, misprints, etc. Andre van Tonder (03 Dec 2005 16:20 UTC)
Re: Questions, loose ends, misprints, etc. Andre van Tonder (03 Dec 2005 22:41 UTC)
Re: Questions, loose ends, misprints, etc. Jens Axel Søgaard (01 Dec 2005 16:49 UTC)
Re: Questions, loose ends, misprints, etc. Matthew Flatt (01 Dec 2005 16:58 UTC)

Re: Questions, loose ends, misprints, etc. Jens Axel Søgaard 01 Dec 2005 16:49 UTC

Andre van Tonder wrote:
> Here are a few questions and possible loose ends that occurred to me
> while reading the document.  Some of these may of course only reflect
> a lack of understanding on my part:
>
> - Can I shadow CAR from the R6RS language, either with an import
>   or a local definition?  This kind of thing is potentially useful.
>   However, the document says: "No identifier can be imported multiple
>   times...", which seems to preclude this, unless the "language" is
>   conceptually not an import?

How about:

(library "minir6rs" "scheme://r6rs"
   ; export all names in r6rs except CAR
   (export + - ... ))

(libray "myr6rs" "scheme://r6rs"
   (import "minir6rs")
   ; export all names in r6rs
   (export + - ...))

It is a bit cumbersome to be so explicit. Perhaps
<export-set> could be extend with an (all-from <lib-path>)
form?

--
Jens Axel Søgaard