chore: remove List.init
This commit is contained in:
parent
2886174dd0
commit
19a50a32ec
1 changed files with 0 additions and 5 deletions
|
|
@ -404,11 +404,6 @@ def enumFrom : Nat → List α → List (Nat × α)
|
|||
|
||||
def enum : List α → List (Nat × α) := enumFrom 0
|
||||
|
||||
def init : List α → List α
|
||||
| [] => []
|
||||
| [_] => []
|
||||
| a::l => a::init l
|
||||
|
||||
def intersperse (sep : α) : List α → List α
|
||||
| [] => []
|
||||
| [x] => [x]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue