Ternary Conditional Operator The ternary conditional operator is used to shorten the code of if statement. It is a special type of…
comments
-
-
Unary Minus Operator The unary minus operator is a prefixed (-) sign attached with a value. let three = 3 let minusThree…
-
Shell Scripting She-bang The sign #! is called she-bang and is written at top of the script. It passes instruction to program…
-
Arithmetic Operators Swift 4 supports the four standard arithmetic operators of all number types: Addition (+) Operator Subtraction (-) Operator Multiplication (*)…
-
Assignment Operator Assignment operator is used to initialize or update the values of both its operands. For example, here (a = b),…
-
Compound Assignment Operators Swift 4 provides compound assignment operators that combine assignment (=) operator with another operator. One example of compound assignment…
-
Range Operators Swift 4 supports several types of range operators which are used as shorthand for expressing a range of values. Closed…
-
F# Let Bindings Binding is a process of associating of identifier or function to a value. Let keyword is used to bind…
-
F# Type Annotation F# allows type annotation. By using type annotation you can explicitly mention the type of identifier, parameter, return value…
-
F# For-Downto-Do Example F# provides downto keyword to decrement identifier in loop. It decrements after each iteration. It is useful when you…