1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 18:06:14 +03:00

Rename some parameters that got caught by find/replace.

This commit is contained in:
Rob Rix 2015-09-28 22:46:35 -04:00
parent 5fbc3b5102
commit f6cb4341a3

View File

@ -82,16 +82,16 @@ public enum Doc: CustomDocConvertible, Equatable {
return fold(Stream(sequence: Docs))
}
public static func spread<C: CollectionType where C.Generator.Element == Doc>(Docs: C) -> Doc {
return foldDoc(Docs, combine: <+>)
public static func spread<C: CollectionType where C.Generator.Element == Doc>(docs: C) -> Doc {
return foldDoc(docs, combine: <+>)
}
public static func stack<C: CollectionType where C.Generator.Element == Doc>(Docs: C) -> Doc {
return foldDoc(Docs, combine: </>)
public static func stack<C: CollectionType where C.Generator.Element == Doc>(docs: C) -> Doc {
return foldDoc(docs, combine: </>)
}
public static func join<C: CollectionType where C.Generator.Element == Doc>(separator: String, _ Docs: C) -> Doc {
return foldDoc(Docs) {
public static func join<C: CollectionType where C.Generator.Element == Doc>(separator: String, _ docs: C) -> Doc {
return foldDoc(docs) {
$0 <> Text(separator) <+> $1
}
}