File: .lake/packages/lean4/src/lean/Lean/ToExpr.lean

full_name: Lean.ToExpr.toTypeExpr
code: /--
We use the `ToExpr` type class to convert values of type `α` into
expressions that denote these values in Lean.
Example:
```
toExpr true = .const ``Bool.true []
```
-/
class ToExpr (α : Type u) where
  /-- Convert a value `a : α` into an expression that denotes `a` -/
  toExpr     : α → Expr
  /-- Expression representing the type `α` -/
  toTypeExpr : Expr
goal: Lean.Expr

full_name: Lean.ToExpr
code: /--
We use the `ToExpr` type class to convert values of type `α` into
expressions that denote these values in Lean.
Example:
```
toExpr true = .const ``Bool.true []
```
-/
class ToExpr (α : Type u) where
  /-- Convert a value `a : α` into an expression that denotes `a` -/
  toExpr     : α → Expr
  /-- Expression representing the type `α` -/
  toTypeExpr : Expr
goal: Type u

full_name: Lean.ToExpr.toExpr
code: /--
We use the `ToExpr` type class to convert values of type `α` into
expressions that denote these values in Lean.
Example:
```
toExpr true = .const ``Bool.true []
```
-/
class ToExpr (α : Type u) where
  /-- Convert a value `a : α` into an expression that denotes `a` -/
  toExpr     : α → Expr
  /-- Expression representing the type `α` -/
  toTypeExpr : Expr
goal: α → Lean.Expr

full_name: Lean.instToExprNat
code: instance : ToExpr Nat 
goal: Lean.ToExpr Nat

full_name: Lean.instToExprInt.mkNat
code: instance : ToExpr Int 
goal: Lean.Expr

full_name: Lean.instToExprInt
code: instance : ToExpr Int 
goal: Lean.ToExpr Int

full_name: Lean.instToExprFin
code: instance : ToExpr (Fin n) 
goal: Lean.ToExpr (Fin n)

full_name: Lean.instToExprBitVec
code: instance : ToExpr (BitVec n) 
goal: Lean.ToExpr (BitVec n)

full_name: Lean.instToExprUInt8
code: instance : ToExpr UInt8 
goal: Lean.ToExpr UInt8

full_name: Lean.instToExprUInt16
code: instance : ToExpr UInt16 
goal: Lean.ToExpr UInt16

full_name: Lean.instToExprUInt32
code: instance : ToExpr UInt32 
goal: Lean.ToExpr UInt32

full_name: Lean.instToExprUInt64
code: instance : ToExpr UInt64 
goal: Lean.ToExpr UInt64

full_name: Lean.instToExprUSize
code: instance : ToExpr USize 
goal: Lean.ToExpr USize

full_name: Lean.instToExprBool
code: instance : ToExpr Bool 
goal: Lean.ToExpr Bool

full_name: Lean.instToExprChar
code: instance : ToExpr Char 
goal: Lean.ToExpr Char

full_name: Lean.instToExprString
code: instance : ToExpr String 
goal: Lean.ToExpr String

full_name: Lean.instToExprUnit
code: instance : ToExpr Unit 
goal: Lean.ToExpr Unit

full_name: _private.«.lake».packages.lean4.src.lean.Lean.ToExpr.0.Lean.Name.toExprAux.isSimple
code: private def Name.toExprAux (n : Name) : Expr 
goal: Bool

full_name: _private.«.lake».packages.lean4.src.lean.Lean.ToExpr.0.Lean.Name.toExprAux.mkStr
code: private def Name.toExprAux (n : Name) : Expr 
goal: Lean.Expr

full_name: _private.«.lake».packages.lean4.src.lean.Lean.ToExpr.0.Lean.Name.toExprAux.go
code: private def Name.toExprAux (n : Name) : Expr 
goal: Lean.Name → Lean.Expr

full_name: _private.«.lake».packages.lean4.src.lean.Lean.ToExpr.0.Lean.Name.toExprAux
code: private def Name.toExprAux (n : Name) : Expr 
goal: Lean.Expr

full_name: Lean.instToExprName
code: instance : ToExpr Name 
goal: Lean.ToExpr Lean.Name

full_name: Lean.instToExprOption
code: instance [ToExpr α] : ToExpr (Option α) 
goal: Lean.ToExpr (Option α)

full_name: _private.«.lake».packages.lean4.src.lean.Lean.ToExpr.0.Lean.List.toExprAux
code: private def List.toExprAux [ToExpr α] (nilFn : Expr) (consFn : Expr) : List α → Expr
  
goal: List α → Lean.Expr

full_name: Lean.instToExprList
code: instance [ToExpr α] : ToExpr (List α) 
goal: Lean.ToExpr (List α)

full_name: Lean.instToExprArray
code: instance [ToExpr α] : ToExpr (Array α) 
goal: Lean.ToExpr (Array α)

full_name: Lean.instToExprProd
code: instance [ToExpr α] [ToExpr β] : ToExpr (α × β) 
goal: Lean.ToExpr (α × β)

full_name: Lean.instToExprLiteral
code: instance : ToExpr Literal 
goal: Lean.ToExpr Lean.Literal

full_name: Lean.instToExprFVarId
code: instance : ToExpr FVarId 
goal: Lean.ToExpr Lean.FVarId

full_name: Lean.instToExprPreresolved
code: instance : ToExpr Syntax.Preresolved 
goal: Lean.ToExpr Lean.Syntax.Preresolved

full_name: Lean.Expr.toCtorIfLit
code: def Expr.toCtorIfLit : Expr → Expr
  
goal: Lean.Expr → Lean.Expr