{"categories":["Haskell"],"url":"https://faithandbrave.hateblo.jp/entry/20120118/1326869884","provider_name":"Hatena Blog","blog_title":"Faith and Brave - C++\u3067\u904a\u307c\u3046","width":"100%","author_url":"https://blog.hatena.ne.jp/faith_and_brave/","type":"rich","provider_url":"https://hatena.blog","author_name":"faith_and_brave","published":"2012-01-18 15:58:04","description":"Haskell\u3067\u7c21\u5358\u306a\u30b5\u30fc\u30d0\u30fc\u3092\u66f8\u3044\u3066\u5d4c\u3063\u305f\u3053\u3068\u3002 \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u30c7\u30fc\u30bf\u3092\u9001\u308b\u969b\u3001hFlush\u3057\u306a\u3044\u3068\u9001\u308a\u7d42\u308f\u308b\u524d\u306b\u63a5\u7d9a\u304c\u5207\u308c\u3066\u3057\u307e\u3046\u3002 import Network import System.IO main :: IO () main = withSocketsDo $ do hSetBuffering stdout NoBuffering server `catch` (const $ putStrLn \"Exception caught.\") putStrLn \"Connection closed.\" server :: IO () server = do sock <- listen\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20120118%2F1326869884\" title=\" hFlush\u3092\u5fd8\u308c\u305a\u306b - Faith and Brave - C++\u3067\u904a\u307c\u3046\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","blog_url":"https://faithandbrave.hateblo.jp/","version":"1.0","image_url":null,"title":" hFlush\u3092\u5fd8\u308c\u305a\u306b"}