[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: importing srfi-101

This page is part of the web mail archives of SRFI 101 from before July 7th, 2015. The new archives for SRFI 101 contain all messages, not just those from before July 7th, 2015.

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))