Jonathan Rees
2014-07-03 19:51:53 UTC
Redefining an imported name is, in my opinion, a perfectly legitimate thing. I don't mind getting a single warning when the name is first shadowed, but I get this every time I load the file, even if it has been loaded before.
This behavior is not seen in version 1.4. Apparently there's no warning at all there. The warning is ok, its repetition is the issue.
This is in scheme 48 1.9 on a mac.
Jonathan
bash-3.2$ scheme48
Welcome to Scheme 48 1.4 (made by root on Mon Feb 13 12:05:23 EST 2012)
Copyright (c) 1993-2006 by Richard Kelsey and Jonathan Rees.
Please report bugs to scheme-48-***@s48.org.
Get more information at http://www.s48.org/.
Type ,? (comma question-mark) for help.
Exit Scheme 48 (y/n)? y
bash-3.2$ ~/Downloads/scheme48-1.9/go
Welcome to Scheme 48 1.9 (made by jar on 2012-12-30)
See http://s48.org/ for more information.
Please report bugs to scheme-48-***@s48.org.
Get more information at http://www.s48.org/.
Type ,? (comma question-mark) for help.
#{package 284 user}
eval
#{structure 91 scheme}
; no values returned
#{package 284 user}
eval
#{structure 91 scheme}
; no values returned
This behavior is not seen in version 1.4. Apparently there's no warning at all there. The warning is ok, its repetition is the issue.
This is in scheme 48 1.9 on a mac.
Jonathan
bash-3.2$ scheme48
Welcome to Scheme 48 1.4 (made by root on Mon Feb 13 12:05:23 EST 2012)
Copyright (c) 1993-2006 by Richard Kelsey and Jonathan Rees.
Please report bugs to scheme-48-***@s48.org.
Get more information at http://www.s48.org/.
Type ,? (comma question-mark) for help.
(define eval 7)
; no values returned,bench
will compile some calls in line(define eval 7)
; no values returnedExit Scheme 48 (y/n)? y
bash-3.2$ ~/Downloads/scheme48-1.9/go
Welcome to Scheme 48 1.9 (made by jar on 2012-12-30)
See http://s48.org/ for more information.
Please report bugs to scheme-48-***@s48.org.
Get more information at http://www.s48.org/.
Type ,? (comma question-mark) for help.
(define eval 7)
warning: name from opened structure redefined [package-define!]#{package 284 user}
eval
#{structure 91 scheme}
; no values returned
(define eval 7)
warning: name from opened structure redefined [package-define!]#{package 284 user}
eval
#{structure 91 scheme}
; no values returned