mirror of
https://github.com/idris-lang/Idris2.git
synced 2025-01-03 12:33:26 +03:00
weakenN
's n
parameter was made to have zero quantity.
This commit is contained in:
parent
891b2d667a
commit
123fbb7f33
@ -76,7 +76,7 @@ weaken (FS k) = FS $ weaken k
|
||||
|
||||
||| Weaken the bound on a Fin by some amount
|
||||
public export
|
||||
weakenN : (n : Nat) -> Fin m -> Fin (m + n)
|
||||
weakenN : (0 n : Nat) -> Fin m -> Fin (m + n)
|
||||
weakenN n FZ = FZ
|
||||
weakenN n (FS f) = FS $ weakenN n f
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user