mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
rest forces.
This commit is contained in:
parent
298c2accae
commit
a1136f8e58
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user