什么是 F# 引号?

发布于 2024-09-15 06:25:37 字数 29 浏览 1 评论 0原文

F# 中的“引号”是什么?它们的用途是什么?

What are "quotations" in F#, and what are they used for?

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

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

发布评论

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

评论(3

晨曦慕雪 2024-09-22 06:25:37

它们相当于 C# 中的 Expression 对象。它们以一种可以在运行时被其他代码访问的方式表示其中代码的表达式树。

They are equivalent to Expression<> objects in C#. They represent the expression tree of the code therein in a way that can be accessed by other code at runtime.

晌融 2024-09-22 06:25:37

简而言之,引用是代表特定函数或代码片段的代码的元数据。

http://fortysix-and-two。 blogspot.com/2009/06/traversing-and-transforming-f.html

In short, a quotation is metadata that represents the code of a particular function or code snippet.

http://fortysix-and-two.blogspot.com/2009/06/traversing-and-transforming-f.html

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