Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
F# 3.0 测试版包含一个带有大量新关键字的查询 {}计算表达式。
如何在计算构建器中定义自己的关键字?
在 F# 3.0 中,您可以为此目的使用CustomOperationAttribute 。
新属性的文档记录不是很好,我发现的唯一例子是@Tomas的这个很好的答案和这个有趣的博客文章。