Fix annotaion in Stream

This commit is contained in:
Edwin Brady 2020-12-27 20:13:21 +00:00
parent 61ba5e086f
commit 5b97cd4499

View File

@ -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)