Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I believe it was discussed in Swift Evolution, not confusing.

    0...1 //0 to 1
Note: triple dot.

    0..2 //error: repl.swift:1:2: error: use of unresolved operator '..'


    0..<1 //0 to <1


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: