[Haskell-cafe] wxHaskell

Henk-Jan van Tuyl hjgtuyl at chello.nl
Fri Mar 27 16:26:31 EDT 2009

On Fri, 27 Mar 2009 19:35:05 +0100, Tsunkiet Man <temp.tsun at gmail.com>  

> Hello,
> I've just installed wxHaskell as follow:
> - Download wxHaskell from the following page:
> http://haskell.org/haskellwiki/WxHaskell/Download and downloaded the  
> binairy
> version for Windows XP.
> - Registered using the batch file provided.
> Now I have this small program from my education page that I want to run  
> just
> to make sure my installation is correct. (
> http://www.cs.uu.nl/wiki/pub/FP/Practicum/Balls.hs) I've also got Helium
> (2003) and winHugs (sept 2006) (I'm so sorry for using the old versions,  
> but
> I just can't find new versions) My GHC compiler is version: GHC 6.10.1  
> and
> my wxHaskell is named like:  
> wxhaskell-bin-msw2.8.9-ghc6.10.1-0.11.0-0.zip.
> (If you need more information just contact me)
> Now my error message in winHugs is: And if
> ERROR file:.\Balls.hs - Can't find imported module "Graphics.UI.WX"
> And if I run that in Helium I get some error message that the . in
> "Graphics.UI.WX" is unexpected. (Which means by my views that it didn't
> import wxHaskell.)
> And if I run it in ghci it compiles perfect. So I thought let's type in
> "main" to start it in a interpreter. So I get the following:
> http://img10.imageshack.us/img10/5118/testzrs.jpg. I don't think that
> program is running correctly. Can someone point out what went wrong or  
> what
> I am doing wrong?
> And some small question, do I always have to compile those programs in  
> order
> for it to run correctly?
> Thanks for your time and effort!
> Tsunkiet Man

You have installed wxHaskell for GHC only; I don't know how to install it  
for the other implementations. The window seems OK, to see balls dropping,  
click on the window.

Met vriendelijke groet,
Henk-Jan van Tuyl


More information about the Haskell-Cafe mailing list