Visual Haskell's Hello, World

Bill Mill bill.mill+haskell at gmail.com
Tue Jan 2 10:15:04 EST 2007


It seems trivial, but I think the contents of main.hs in the Visual Haskell
default project should include a getChar:

module Main where

main = do
	putStrLn "Hello, world!"
	getChar

The first thing a user is going to do on installation is hit the "build and
execute" button, and the default project displays a window which then closes
before the user can see if anything's happened.

-Bill Mill
bill.mill at gmail.com




More information about the Glasgow-haskell-bugs mailing list