Are you interested in purchasing the entire website? If so, we will include an additional premium domain (freetimelearn.com) at no extra cost along with this domain.
Mail : freetimelearn@gmail.com
WhatsApp : +919966463846
// Overloading an operator as a class or record member.
static member (operator-symbols) (parameter-list) =
method-body
// Overloading an operator at the global level
let [inline] (operator-symbols) parameter-list = function-body
+, -, *, /, =, and so on. The parameter-list specifies the operands in the order they appear in the usual syntax for that operator. The method-body constructs the resulting value.+ and -, must use a tilde (~) in the operator-symbol to indicate that the operator is a unary operator and not a binary operator, as shown in the following declaration.static member (~-) (v : Vector)