为什么包用户不是MIT Scheme 10.1中的环境?

为什么包用户不是MIT Scheme 10.1中的环境?,scheme,lisp,mit-scheme,Scheme,Lisp,Mit Scheme,以下是我的麻省理工学院计划代码: (显示(名称->包(用户))) (新行) (->环境(名称->包(用户))) (%退出) 这在MIT/GNU计划9.1.1版上运行良好。以下是输出: $ scheme --quiet --load foo.scm #[package 13 (user)] 但当我在MIT/GNU Scheme 10.1.5版上运行时,我得到了以下错误: $ mit-scheme --quiet --load foo.scm #[package 12 (user)] ;The

以下是我的麻省理工学院计划代码:

(显示(名称->包(用户)))
(新行)
(->环境(名称->包(用户)))
(%退出)
这在MIT/GNU计划9.1.1版上运行良好。以下是输出:

$ scheme --quiet --load foo.scm
#[package 13 (user)]
但当我在MIT/GNU Scheme 10.1.5版上运行时,我得到了以下错误:

$ mit-scheme --quiet --load foo.scm
#[package 12 (user)]
;The object #[package 12 (user)], passed as an argument to ->environment, is not an environment.
;To continue, call RESTART with an option number:
; (RESTART 1) => Return to read-eval-print level 1.

2 error>
在调试时,我得到了这个

2 error> (debug)

There are 7 subproblems on the stack.

Subproblem level: 0 (this is the lowest subproblem level)
Compiled code expression unknown
#[compiled-return-address 13 ("rep" #x2f) #xd8 #x95ed10]
There is no current environment.
There is no execution history for this subproblem.
You are now in the debugger.  Type q to quit, ? for commands.

3 debug>
为什么该错误出现在10.1.5中而不是9.1.1中