FSharpx.Extras


FormatOptions Type

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 Field Description

AttributeProcessor

Full Usage: AttributeProcessor

Field type: string -> (string * string) list -> bool -> unit
Field type: string -> (string * string) list -> bool -> unit

BindingFlags

Full Usage: BindingFlags

Field type: BindingFlags
Field type: BindingFlags

FloatingPointFormat

Full Usage: FloatingPointFormat

Field type: string
Field type: string

FormatProvider

Full Usage: FormatProvider

Field type: IFormatProvider
Field type: IFormatProvider

PrintDepth

Full Usage: PrintDepth

Field type: int
Field type: int

PrintLength

Full Usage: PrintLength

Field type: int
Field type: int

PrintSize

Full Usage: PrintSize

Field type: int
Field type: int

PrintWidth

Full Usage: PrintWidth

Field type: int
Field type: int

ShowIEnumerable

Full Usage: ShowIEnumerable

Field type: bool
Field type: bool

ShowProperties

Full Usage: ShowProperties

Field type: bool
Field type: bool

Static members

Static member Description

FormatOptions.Default

Full Usage: FormatOptions.Default

Returns: FormatOptions
Returns: FormatOptions