On Thu, Feb 24, 2005 at 09:01:06AM -0800, Jeremy Shaw wrote: > I am making a wild guess because I do not have all the information in > front of me right now but would this work ? > > ... do x <- if cond > > then textInputField ... > > else return () > > note the addition of 'return' to the else clause ?
Won't help since () is still a different type than textInputField is working with. -- John _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
