Documentation
Lean
.
Data
.
Format
Search
return to top
source
Imports
Lean.Data.Options
Init.Data.Format.Instances
Imported by
Std
.
Format
.
getWidth
Std
.
Format
.
getIndent
Std
.
Format
.
getUnicode
Std
.
Format
.
format
.
width
Std
.
Format
.
format
.
unicode
Std
.
Format
.
format
.
indent
Std
.
Format
.
pretty'
Lean
.
instToFormatName_lean
Lean
.
instToFormatDataValue
Lean
.
instToFormatProdNameDataValue
Lean
.
formatKVMap
Lean
.
instToFormatKVMap
source
def
Std
.
Format
.
getWidth
(
o
:
Lean.Options
)
:
Nat
Instances For
source
def
Std
.
Format
.
getIndent
(
o
:
Lean.Options
)
:
Nat
Instances For
source
def
Std
.
Format
.
getUnicode
(
o
:
Lean.Options
)
:
Bool
Instances For
source
opaque
Std
.
Format
.
format
.
width
:
Lean.Option
Nat
source
opaque
Std
.
Format
.
format
.
unicode
:
Lean.Option
Bool
source
opaque
Std
.
Format
.
format
.
indent
:
Lean.Option
Nat
source
def
Std
.
Format
.
pretty'
(
f
:
Format
)
(
o
:
Lean.Options
:=
∅
)
:
String
Instances For
source
@[implicit_reducible]
instance
Lean
.
instToFormatName_lean
:
ToFormat
Name
source
@[implicit_reducible]
instance
Lean
.
instToFormatDataValue
:
ToFormat
DataValue
source
@[implicit_reducible]
instance
Lean
.
instToFormatProdNameDataValue
:
ToFormat
(
Name
×
DataValue
)
source
def
Lean
.
formatKVMap
(
m
:
KVMap
)
:
Format
Instances For
source
@[implicit_reducible]
instance
Lean
.
instToFormatKVMap
:
ToFormat
KVMap