如何解决我如何从命令行运行 Pie来自 The Little Typer?
我已经阅读 The Little Typer 有一段时间了,现在我想真正尝试 Pie 而不是仅仅阅读它。以下是我尝试在命令行(在 Mac 上)中启动和运行 Pie REPL 的步骤:
brew install racket
raco pkg install -n pie
racket -l pie -i
最后一行输出:
Welcome to Racket v7.9 [bc].
standard-module-name-resolver: collection not found
for module path: typed/racket/base
collection: "typed/racket"
in collection directories:
/Users/caspianahlberg/Library/Racket/7.9/collects
/usr/local/Cellar/minimal-racket/7.9/share/racket/collects
/usr/local/Cellar/minimal-racket/7.9/share/racket/pkgs/racket-lib
>
此外,在测试 Pie 表达式时,例如 (cons 'foo 'bar)
,它告诉我:
stdin::1: #%top-interaction: unbound identifier;
also,no #%app Syntax transformer is bound
at: #%top-interaction
in: (#%top-interaction cons (quote foo) (quote bar))
location...:
stdin::1
context...:
/usr/local/Cellar/minimal-racket/7.9/share/racket/collects/racket/repl.rkt:11:26
从命令行运行 Pie 时似乎没有正确安装某些东西。有遇到过这个问题的人知道怎么解决吗?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。