Closed Seasawher closed 2 weeks ago
structure Sample where name : String index : Nat def getSample (index : Nat) (name : String) : Sample := by -- constructor タクティクでゴールの構造体をフィールドに分解する constructor · exact name · exact index