mirror of
https://github.com/idris-lang/Idris2.git
synced 2025-01-03 20:42:13 +03:00
Fix linearity annotation in take
Hopefully this fixes the bootstrap build
This commit is contained in:
parent
ad632d825d
commit
61ba5e086f
@ -79,7 +79,7 @@ init (x::y::ys) = x :: init (y::ys)
|
||||
|
||||
||| Extract the first `n` elements of a Vect.
|
||||
public export
|
||||
take : (1 n : Nat)
|
||||
take : (n : Nat)
|
||||
-> ( xs : Vect (n + m) type)
|
||||
-> Vect n type
|
||||
take 0 xs = Nil
|
||||
|
Loading…
Reference in New Issue
Block a user