GUILib.hs 219 B

12345678910111213141516
  1. module GUILib where
  2. class Widget w where
  3. setVisible :: Widget w => w -> Bool -> IO ()
  4. setVisible w _ = return ()
  5. data Window = Window
  6. instance Widget Window where
  7. newWindow :: IO Window
  8. newWindow = return Window