<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 21, 2015 at 8:28 PM, Jason J. Corso <span dir="ltr"><<a href="mailto:jjcorso@eecs.umich.edu" target="_blank">jjcorso@eecs.umich.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":1tw" class="a3s" style="overflow:hidden">
But, I get a type error that I do not understand<br>
<br>
    Couldn't match expected type ‘IO (Window a0)’<br>
                with actual type ‘[Prop (Frame ())] -> IO (Frame ())’<br>
    Probable cause: ‘frame’ is applied to too few arguments</div></blockquote></div><br></div><div class="gmail_extra">This is a consequence of the line "f <- frame" in <br><br>
gui :: IO ()<br>
gui = do<br>
        f <- frame<br>
        let s = map (\t -> staticText f [text := show t]) [1..10]<br>
        set f [layout := margin 10 ( row 2 $ map (\x -> (widget x)) s)]<br><br></div><div class="gmail_extra">I have no experience at all with wxHaskell. But for the sake of forward motion, substituting with "f <- frame []" should work.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">-- Kim-Ee</div></div>
</div></div>