Peter is right at saying it's the sample GLFW program that didn't
handle Window Close event. I didn't double check his modification
because I run Linux/X11 with xmonad where there is no CLOSE button for
any window, but I trust his modification works fine :-)

As for the alternatives, I don't think there is a "nicer" model for
general purpose GUI programming in functional style just yet. Yampa is
nice in its treatment of continuous signals, but its event handling
isn't any better. Sticking to plain-old imperative style with
callbacks probably makes most practical sense.

-- 
Regards,
Paul Liu

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

Reply via email to