[Haskell-cafe] Newbie Question

Henk-Jan van Tuyl hjgtuyl at chello.nl
Fri Dec 31 13:53:50 CET 2010


On Fri, 31 Dec 2010 12:32:06 +0100, Chionidis Ioannis  
<john at echidna-band.com> wrote:

> Hello everybody!
>
> I am quite new to haskell programming. I am trying to make a gui for a  
> drumming project made in euterpea and I want to do something like this :
>  >  b <- button f [text := "Run!" , on command := (test mambo_orig)]
> "test mambo_orig" is executed from ghci but I want It to be able to  
> execute each time the user presses the button.
>
> Hope I didn't mess it up in the explaination,
> Giannis Chionidis
>

This should work as expected, but GHCi does not play nice with wxHaskell;  
the problem is being worked on. Try compiling your program.

Regards,
Henk-Jan van Tuyl


-- 
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
--



More information about the Haskell-Cafe mailing list