-
Notifications
You must be signed in to change notification settings - Fork 414
Open
Labels
Area-F#Specific to F#Specific to F#Area-FormattingData and object formatting as HTML and plaintextData and object formatting as HTML and plaintextImpact-Low
Description
Therer are lots of cases where default formatting for F# values is way off. I'll document a few here and try and make progress on this.
-
Evaluate a method info, e..d
match <@ display("") @> with Quotations.Patterns.Call(_,mi,_) -> miExpect: something reasonable
Actual: a big mess -
Evaluate "<@ 1 @>" in a notebook.
Expect: Some reasonable of the quotation.
Actual, a big mess, see image at bottomBest would really be just the
ToString()I think:Value (1)For reference FSI shows this, which is not great but not awful.
val it : Quotations.Expr<int> = Value (1) {CustomAttributes = [NewTuple (Value ("DebugRange"), NewTuple (Value ("stdin"), Value (1), Value (3), Value (1), Value (4)))]; Raw = ...; Type = System.Int32;}
Quotation image:
gbaydin and houstonhaynes
Metadata
Metadata
Assignees
Labels
Area-F#Specific to F#Specific to F#Area-FormattingData and object formatting as HTML and plaintextData and object formatting as HTML and plaintextImpact-Low
