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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With