Implement the polymorphic identity function.
3 lines · Lean 4
Objectifs
- Implement the polymorphic identity function.
Indices
Voir la solution
def identity {α : Type} (x : α) : α := xImplement the polymorphic identity function.
def identity {α : Type} (x : α) : α := x