mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-09-21 10:18:23 +03:00
Fix annotaion in Stream
This commit is contained in:
parent
61ba5e086f
commit
5b97cd4499
@ -124,6 +124,6 @@ Monad Stream where
|
||||
-- Properties
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
lengthTake : (1 n : Nat) -> (xs : Stream a) -> length (take n xs) = n
|
||||
lengthTake : (n : Nat) -> (xs : Stream a) -> length (take n xs) = n
|
||||
lengthTake Z _ = Refl
|
||||
lengthTake (S n) (x :: xs) = cong S (lengthTake n xs)
|
||||
|
Loading…
Reference in New Issue
Block a user