Get rid of 'class object' usages in code and builtins

Replace some comments and library usages as well
This commit is contained in:
Pavel V. Talanov
2015-03-25 15:09:18 +03:00
parent 67f84c0f76
commit ed218c473a
157 changed files with 187 additions and 187 deletions
@@ -48,7 +48,7 @@ public abstract class FunctionalList<T>(public val size: Int) {
private class Standard<T>(override val head: T, override val tail: FunctionalList<T>) : FunctionalList<T>(tail.size + 1)
class object {
companion object {
public fun <T> emptyList(): FunctionalList<T> = Empty<T>()
public fun <T> of(element: T): FunctionalList<T> = FunctionalList.Standard<T>(element, emptyList())