FSharpx.Extras


FormatOptions

Namespace: Microsoft.FSharp.Text.StructuredFormat

A record of options to control structural formatting. For F# Interactive properties matching those of this value can be accessed via the 'fsi' value.

Floating Point format given in the same format accepted by System.Double.ToString, e.g. f6 or g15.

If ShowProperties is set the printing process will evaluate properties of the values being displayed. This may cause additional computation.

The ShowIEnumerable is set the printing process will force the evalution of IEnumerable objects to a small, finite depth, as determined by the printing parameters. This may lead to additional computation being performed during printing.

From F# Interactive the default settings can be adjusted using, for example,
  open Microsoft.FSharp.Compiler.Interactive.Settings;;
  setPrintWidth 120;;

Record Fields

Record FieldDescription
AttributeProcessor
Signature: string -> (string * string) list -> bool -> unit
BindingFlags
Signature: BindingFlags
FloatingPointFormat
Signature: string
FormatProvider
Signature: IFormatProvider
PrintDepth
Signature: int
PrintLength
Signature: int
PrintSize
Signature: int
PrintWidth
Signature: int
ShowIEnumerable
Signature: bool
ShowProperties
Signature: bool

Static members

Static memberDescription
Default
Signature: FormatOptions

CompiledName: get_Default

Fork me on GitHub