【发布时间】:2017-04-26 00:49:23
【问题描述】:
我如何通过填写magic 使这个测试通过?
type DU =
| ACaseName
| BThereCake
let magic (q: Quotation<_>): string =
// smallest F# code in here?
open Expecto
let subject = magic <@ ACaseName @>
Expect.equal subject "ACaseName" "Should extract the NAME of the DU case"
【问题讨论】:
标签: f#