alakfq
alakfq

Reputation: 135

Retrieving the F# code inside a Quotation

How can I get the original F# code inside a quotation?

I know that in C# Expression.ToString() gives a reasonable string but it's not 100% and doesn't work in F#.

Upvotes: 3

Views: 191

Answers (1)

alakfq
alakfq

Reputation: 135

I found the library Swensen.Unquote to give satisfactory results.

Upvotes: 1

Related Questions