【Lean4】リスト

リスト

リストは同じ型の値を並べたもの

Plaintext
def numbers : List Nat :=
  [1, 2, 3, 4]

Lean4の関連記事

タイトルとURLをコピーしました