1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 07:55:12 +03:00

rest forces.

This commit is contained in:
Rob Rix 2015-09-17 14:23:05 -04:00
parent 298c2accae
commit a1136f8e58

View File

@ -29,7 +29,7 @@ public enum Stream<A>: NilLiteralConvertible, SequenceType {
}
public var rest: Stream {
return uncons?.rest ?? .Nil
return uncons?.rest.value ?? .Nil
}
public var isEmpty: Bool {