Skip to content

ex3

← Back

Basic Info

Functional Programming
└── Lab ML
    └── 0​228
        └── ex3.sml

Preview

(*What does the environment contain after these command?*)

val a = 3;
(*val a = 3: int*)

val b = 98.6;
(*val b = 98.6: real*)

val a = "three";
(*val a = "three": string*)

val c = a ^ str(chr(floor(b)));
(*val c = "threeb": string*)