We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2522e18 commit 3e242ebCopy full SHA for 3e242eb
1 file changed
pkg/lang/seq.go
@@ -32,8 +32,8 @@ func Next(x interface{}) ISeq {
32
}
33
34
s := Seq(x)
35
- if s == nil {
36
- return emptyList
+ if IsNil(s) {
+ return nil
37
38
return s.Next()
39
0 commit comments