Re: define-library-alias Marc Feeley 04 Jun 2020 15:37 UTC

I’m late to the conversation, but how about simply “extends” :

 (define-library (scheme list)
   (extends (srfi 1))

That way, you can add other functionality and export it, but if there’s nothing else in the define-library it just reexports the indicated library.

Marc

> On Jun 4, 2020, at 10:56 AM, Alex Shinn <xxxxxx@gmail.com> wrote:
>
> On Wed, May 27, 2020 at 1:10 PM Shiro Kawai <xxxxxx@gmail.com> wrote:
> In terms of personal preference, I like alias-for and prohibit any other library declaration.
>
> I've gone ahead and switched to this in Chibi, e.g.
>
> (define-library (scheme list)
>   (alias-for (srfi 1)))
>
> --
> Alex
>