On 2/5/07, Martin DeMello <[EMAIL PROTECTED]> wrote:
On 2/5/07, Matthew Brecknell <[EMAIL PROTECTED]> wrote:
>
> This is probably what you wanted (untested):
>
> w <- readWords "words"
> words <- varCreate w

That didn't work, because (as someone on #haskell explained to me)
readWords has type IO and the wx actions have type Layout

Okay, I was probably doing something else wrong, because I just tried
this again (after changing some other code) and it worked perfectly.

martin
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to