what's swift '~>' operator for?

Found operator ~> in Swift package with the highest priority. No documentation was found in The Swift Programming Language book.

infix operator ~> {
    associativity left
    precedence 255
}

Does anybody know what it's for? Thanks in advance.

I don't think it does anything out of the box. I think it's there for you to assign to something in your own operator overloads if you so choose.

The ~> operator is used inside the standard library to work around some language limitations. It's not intended to be used anywhere else.

what's swift '~>' operator for?
 
 
Q