Skip to content

Instantly share code, notes, and snippets.

@ericjkunz
Last active April 19, 2019 19:26
Show Gist options
  • Save ericjkunz/1f0c307babe7e0c78a6ff50e361f3288 to your computer and use it in GitHub Desktop.
Save ericjkunz/1f0c307babe7e0c78a6ff50e361f3288 to your computer and use it in GitHub Desktop.
infix operator <> { associativity none precedence 135 }
func <>(lhs: Int, rhs: Int) -> CountableRange<Int> {
return (lhs + 1)..<rhs
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment