ML’s Basic Types
3 * 5 ;
val it = 8 : int
3.0 * 5.0 ;
val it = 8.0 : real
true ;
val it = true : bool
"rock" ^ "candy" ;
val it = "rockcandy" : string
#"a" ;
val it = #"a" : char
Previous slide
Next slide
Back to first slide
View graphic version