Documentation
Init
.
Data
.
Format
.
Instances
Search
Google site search
Init
.
Data
.
Format
.
Instances
source
Imports
Init.Data.Array.Basic
Init.Data.Format.Basic
Init.Data.ToString.Basic
Imported by
instToFormat
List
.
format
instToFormatList
instToFormatArray
Option
.
format
instToFormatOption
instToFormatProd
String
.
toFormat
instToFormatPos
source
instance
instToFormat
{α :
Type
u_1}
[
ToString
α
]
:
Lean.ToFormat
α
source
def
List
.
format
{α :
Type
u_1}
[
Lean.ToFormat
α
]
:
List
α
→
Lean.Format
Instances For
source
instance
instToFormatList
{α :
Type
u_1}
[
Lean.ToFormat
α
]
:
Lean.ToFormat
(
List
α
)
source
instance
instToFormatArray
{α :
Type
u_1}
[
Lean.ToFormat
α
]
:
Lean.ToFormat
(
Array
α
)
source
def
Option
.
format
{α :
Type
u}
[
Lean.ToFormat
α
]
:
Option
α
→
Lean.Format
Instances For
source
instance
instToFormatOption
{α :
Type
u}
[
Lean.ToFormat
α
]
:
Lean.ToFormat
(
Option
α
)
source
instance
instToFormatProd
{α :
Type
u}
{β :
Type
v}
[
Lean.ToFormat
α
]
[
Lean.ToFormat
β
]
:
Lean.ToFormat
(
α
×
β
)
source
def
String
.
toFormat
(s :
String
)
:
Lean.Format
Instances For
source
instance
instToFormatPos
:
Lean.ToFormat
String.Pos