Moscow ML 2

Version of implementation Moscow ML of programming language Standard ML

Newest version of Moscow ML


Hello, World! - Standard ML (366):

print is a built-in function defined with the following type:

string -> unit

This means that it takes 1 string as a parameter, and returns the unit type, ().

print "Hello World\n";