SwensenSoftware / unquote

Write F# unit test assertions as quoted expressions, get step-by-step failure messages for free
http://www.swensensoftware.com/unquote
Apache License 2.0
285 stars 26 forks source link

Officialize "FSharpName" extension on Type (rename it and give it an operator) #105

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We currently have an "FSharpName" extension method on System.Type that prints 
the fsharp signature of a type (e.g. `string -> list<int>`). We currently don't 
"officially" support it, but at this point probably just ought to (it fits with 
the general spirit of Unquote reverse engineering F# code through meta-data 
reflection).

I'm thinking renaming the extension method to "FsSig" or "FSharpSig" or 
"FSharpSignature" (erring on the later since it best conforms to .NET design 
guidlines) and adding a corresponding operator to Operators call "fssig" (i 
think this would be consistent with F# design guildesin).

Original issue reported on code.google.com by stephen....@gmail.com on 25 Apr 2013 at 3:06

GoogleCodeExporter commented 9 years ago

Original comment by stephen....@gmail.com on 25 Apr 2013 at 3:06

GoogleCodeExporter commented 9 years ago
WontFix: FSharpName is a reasonable name (analog to Name on System.Type), and 
the operator idea is not really that useful. We'll just call this "official" by 
virtue.

Original comment by stephen....@gmail.com on 15 Mar 2015 at 9:22