Here is the source code:
module Main where -- The "Hello, World!" program import Fudgets main = fudlogue (shellF "Hello" helloF) helloF = labelF "Hello, World!"
Fudgets
. If you use the command hbcxmake
to
compile your program you don't have to
worry about exactly where the Fudget library is located.
fudlogue
is used to connect the main fudget to the Haskell I/O system.
It also handles various initialisation and administration.
shellF
.
The last argument is the fudget which determines the contents of the
window.
labelF
.
The argument is the string to be displayed.