当我启动 R3 Alpha 99 会话并将其作为第一个命令输入时,出现错误:
>> is-email-addr: get bind to-word "email?" bind? 'system
** Script error: email? is not in the specified context
** Where: bind
** Near: bind to-word "email?" bind? 'system
但是,如果我退出,重新启动并改为执行测试以证明email?
原语像对象一样存在于全局上下文中system
,则测试本身会使我的别名起作用:
>> equal? bind? 'system bind? 'email?
== true
>> is-email-addr: get bind to-word "email?" bind? 'system
>> is-email-addr fork@example.com
== true
这里发生了什么?