sml arithmetic operations

Addition, subtraction, multiplication and division.

1+2;
10-2;
2*10;
9.0/3.0;

Output:

val it = 3 : int
val it = 8 : int
val it = 20 : int
val it = 3.0 : real
val it = () : unit

Search within Codexpedia

Custom Search

Search the entire web

Custom Search