mirror of
https://github.com/ilyakooo0/Idris-dev.git
synced 2024-11-11 14:57:30 +03:00
Merge pull request #1314 from WithHat/master
Removed Unicode character from source file
This commit is contained in:
commit
2128f26bd4
@ -85,7 +85,7 @@ scanl f acc (x :: xs) = acc :: scanl f (f acc x) xs
|
||||
||| Produce a Stream of (corecursive) right folds of tails of the given Stream
|
||||
||| @ f the combining function
|
||||
||| @ xs the Stream to fold up
|
||||
-- Reusing the head of the corecursion in the obvious way doesn’t productivity check
|
||||
-- Reusing the head of the corecursion in the obvious way doesn't productivity check
|
||||
scanr : (f : a -> Inf b -> b) -> (xs : Stream a) -> Stream b
|
||||
scanr f (x :: Delay xs) = f x (foldr f xs) :: scanr f xs
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user