{"author_url":"https://blog.hatena.ne.jp/sirocco/","title":"Haskell \u3067 GUI","author_name":"sirocco","categories":["MS-Windows","Gtk2Hs","Haskell"],"provider_name":"Hatena Blog","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","blog_url":"https://sirocco.hatenadiary.org/","width":"100%","height":"190","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/s/sirocco/20100321/20100321175317.jpg","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20100321%2F1269162630\" title=\"Haskell \u3067 GUI - sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://sirocco.hatenadiary.org/entry/20100321/1269162630","published":"2010-03-21 18:10:30","description":"Windows \u3067 Gtk2Hs \u304c\u52d5\u304d\u307e\u3057\u305f\u3002 gtk2hs-0.10.1-win32-installer \u306f GHC 6.10.3 \u304c\u5148\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 {- ghc --make -optl-mwindows HelloGtk.hs -o HelloGtk -} import Graphics.UI.Gtk hello :: (ButtonClass o) => o -> IO () hello b = set b [buttonLabel := \"\u3053\u3093\u306b\u3061\u306f\"] main :: IO () main = do initGUI window <- windowNe\u2026","type":"rich","version":"1.0","provider_url":"https://hatena.blog"}