mirror of
https://github.com/github/semantic.git
synced 2025-01-01 19:55:34 +03:00
Rename some parameters that got caught by find/replace.
This commit is contained in:
parent
5fbc3b5102
commit
f6cb4341a3
@ -82,16 +82,16 @@ public enum Doc: CustomDocConvertible, Equatable {
|
|||||||
return fold(Stream(sequence: Docs))
|
return fold(Stream(sequence: Docs))
|
||||||
}
|
}
|
||||||
|
|
||||||
public static func spread<C: CollectionType where C.Generator.Element == Doc>(Docs: C) -> Doc {
|
public static func spread<C: CollectionType where C.Generator.Element == Doc>(docs: C) -> Doc {
|
||||||
return foldDoc(Docs, combine: <+>)
|
return foldDoc(docs, combine: <+>)
|
||||||
}
|
}
|
||||||
|
|
||||||
public static func stack<C: CollectionType where C.Generator.Element == Doc>(Docs: C) -> Doc {
|
public static func stack<C: CollectionType where C.Generator.Element == Doc>(docs: C) -> Doc {
|
||||||
return foldDoc(Docs, combine: </>)
|
return foldDoc(docs, combine: </>)
|
||||||
}
|
}
|
||||||
|
|
||||||
public static func join<C: CollectionType where C.Generator.Element == Doc>(separator: String, _ Docs: C) -> Doc {
|
public static func join<C: CollectionType where C.Generator.Element == Doc>(separator: String, _ docs: C) -> Doc {
|
||||||
return foldDoc(Docs) {
|
return foldDoc(docs) {
|
||||||
$0 <> Text(separator) <+> $1
|
$0 <> Text(separator) <+> $1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user