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

Re: [Scheme-reports] practical matters - CSAN

Aubrey Jaffer scripsit:

> 9 of the 27 use scanf, which should be refactored to be macro-free.

It's non-hygienic, so yes.

> 2 of the 27 use fluid-let.  SLIB developers have been rewriting
> modules to avoid fluid-let; only two remain.

If the uses of fluid-let are essential, the syntax-rules definition in
SRFI 15 could be provided.  Alternatively, the uses might be replaceable
by parameters.

>   SRFI 8: receive: Binding to multiple values
>   SRFI 11: Syntax for receiving multiple values
> Multiple values are addressed in WG1-Scheme.

SRFI 11 is provided, and SRFI 8 is a trivial syntax-rules macro.

>   SRFI 2: AND-LET*: an AND with local bindings, a guarded LET* special form
>   SRFI 61: A more general cond clause
> No other SLIB modules uses these 2; they could be dropped without
> harm.

SRFI 2 is readily expressible using syntax-rules.

> So 95% of SLIB would survive the transition to being macro-free.


> SRFI-96 could be amended or superseded.

It would be good to know which of its procedures (if any) are no longer

John Cowan    http://ccil.org/~cowan    cowan@x
[T]here is a Darwinian explanation for the refusal to accept Darwin.
Given the very pessimistic conclusions about moral purpose to which his
theory drives us, and given the importance of a sense of moral purpose
in helping us cope with life, a refusal to believe Darwin's theory may
have important survival value. --Ian Johnston

Scheme-reports mailing list