Clojure repl 中的先前表达式

发布于 2024-09-29 01:20:22 字数 171 浏览 8 评论 0原文

在 python repl 中,获取先前输入表达式的结果很容易:

>>> 1+2
3
>>> _
3
>>> 

Is there a way to do this in the clojure repl?

In the python repl, getting the result of the previously input expression is easy:

>>> 1+2
3
>>> _
3
>>> 

Is there a way to do this in the clojure repl?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

傲性难收 2024-10-06 01:20:22
*1

应该做!同样,您也可以访问 *2*3

*1

Should do it! Similarly, you have access to *2 and *3 as well.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文