importing srfi-101 Aubrey Jaffer (17 Sep 2009 16:38 UTC)
Re: importing srfi-101 David Van Horn (17 Sep 2009 17:50 UTC)
Re: importing srfi-101 Aubrey Jaffer (17 Sep 2009 21:07 UTC)
(missing)
(missing)
Re: importing srfi-101 David Van Horn (18 Sep 2009 01:41 UTC)

Re: importing srfi-101 David Van Horn 17 Sep 2009 17:50 UTC

Aubrey Jaffer wrote:
> http://srfi.schemers.org/srfi-101/srfi-101-tests.sls contains an
> import statement:
>
> (import (only (rnrs base)
> 	      define if quote begin equal? assert lambda
> 	      define-syntax syntax-rules _ let let-values else eq?
> 	      + - * expt make-vector vector-set!)
> 	(prefix (only (rnrs base) null?) r6:)
> 	(rnrs exceptions)
> 	(srfi :101))
>
> But this appears to import only a few standard identifiers with their
> usual names.  What would be the import statement to have all the
> standard identifiers imported, excepting the list-related ones, which
> would come from srfi-101 (with their standard names)?

It would be:

(import (except (rnrs base) cons car cdr ...etc...)
         (prefix (only (rnrs base) null?) r6:)
         (rnrs exceptions)
         (srfi :101))

David