Hello, World! in Standard ML
Example for versions
MLton,
Moscow ML 2,
SML/NJ 110
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";
Comments
]]>blog comments powered by Disqus
]]>