F# Custom Operators Precedence
In开发者_如何转开发 F#, you can define custom operators like
let (=~) input pattern = Regex.IsMatch(input, pattern)
Unlike Haskell, custom operators are defined without precedences. What are the operator precedences of the custom operators in F#?
Operator precedence is determined by the first character(s), according to a predefined table.
精彩评论