see http://www.haskell.org/soe/software1.htm
yum install ghc-soegtk-devel yum install ghc-OpenGL-develnote that some linux distros use apt-get or other systems.
tar xzvf GLFW-0.4.1.tar.gz cd GLFW-0.4.1 runhaskell Setup.hs configure runhaskell Setup.hs build runhaskell Setup.hs install
ghci Picture.lhsand type "main" You should get the demo window. To exit click in the black. Control-D will take you out of ghci.