Is there any built-in function for human-readable F# quotations?
问题 When quoting <@ 1 + 1 @> I want "1 + 1" instead of "Call (None, Int32 op_Addition[Int32,Int32,Int32](Int32, Int32), [Value (1), Value (1)])" 回答1: You'll have to write it yourself. See the F# quotations visualizer code as a guide for transforming the quotations abstract syntax tree. 回答2: I have implemented a quotation decompiler as part of a larger open source project Unquote. It can decompile many simple F# quoted expressions as single-line non-light syntax strings (see the project's home