Hello, world!


This program just opens a small window displaying the message "Hello, world!". The window will look something like this (depending on your setup):

[Window dump of the Hello world program.]

Here is the source code:


module Main where -- The "Hello, World!" program
import Fudgets

main = fudlogue (shellF "Hello" helloF)

helloF = labelF "Hello, World!"

Things to note


Next Example