In 0.6.6, opening srfi-5 seems to break some original uses of let:
> (let () 'hi)
'hi
> ,open srfi-5
Load structure srfi-5 (y/n)? y
[srfi-5 /usr/lib/scsh/srfi/srfi-5.scm]
> (let () 'hi)
Warning: invalid expression
()
Error: undefined variable
standard-let
(package srfi-5)
The file scheme/srfi/srfi-5.scm in the source distribution rewrites let
to standard-let, but there is no standard-let defined. A fix seems to be
to change
(define-structure srfi-5 (export (let :syntax))
(open (modify scheme-level-2 (hide let)))
to
(define-structure srfi-5 (export (let :syntax))
(open (modify scheme-level-2 (rename (let standard-let)) (hide let)))
in scheme/more-packages.scm.
I'm not familiar with the details of the structure system, so I may not
be opening the package correctly. Furthermore, if it is a bug I'm unclear
whether (hide let) should be left in.
Gary
|