mirror of
https://github.com/github/semantic.git
synced 2024-11-29 11:02:26 +03:00
What why
This commit is contained in:
parent
90d84593c8
commit
c5fe7bec46
@ -61,7 +61,7 @@ public enum Free<A, B>: CustomDebugStringConvertible, SyntaxConvertible {
|
||||
}
|
||||
|
||||
|
||||
/// Reduces the receiver top-down, left-to-right, starting from an `initial` value, and applying `combine` to successive values.s
|
||||
/// Reduces the receiver top-down, left-to-right, starting from an `initial` value, and applying `combine` to successive values.
|
||||
public func reduce(initial: B, combine: (B, B) -> B) -> B {
|
||||
return iterate {
|
||||
switch $0 {
|
||||
|
Loading…
Reference in New Issue
Block a user