Open
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,_) -> mi
Expect: 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: