next up previous
Next: Run the Hello Up: Getting Started Previous: Getting Started

The Hello world program

A PLAN program is a list of definitions, which could be function definitions, exception declarations, or var bindings (in the ML style). In the case of the Hello world program, there is just one function :

fun doit () : unit =
    (print (thisHost ()); print(" says : Hello world!\n"))



Michael Hicks
Mon Nov 24 10:50:43 EST 1997