This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* SML notes *) | |
when writing in editor, semicolon is not required but when typing in terminal we need | |
semicolon | |
val negative_number = ~15 (* Yeah, unary minus uses the 'tilde' symbol *) | |
(* | |
- Math.e; | |
val it = 2.71828182846 : real | |
- Math.cos (Math.pi/2.0); | |
val it = 0.0 : real | |
- Math.sqrt (49.01); |