{"height":"190","version":"1.0","provider_url":"https://hatena.blog","description":"Haskell\u306e\u7df4\u7fd2\u3068\u3057\u3066\u3001cat\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u88c5\u3057\u3066\u307f\u308b\u3002 getConents\u3092\u4f7f\u3046 \u3082\u3063\u3068\u3082\u7c21\u6f54\u306a\u5b9f\u88c5\u3002 -- cat1.hs main = getContents >>= putStr do\u8a18\u6cd5\u3092\u4f7f\u3063\u3066\u66f8\u304f\u3068\u6b21\u306e\u3088\u3046\u306b\u306a\u308b\u3002 main = do x <- getContents putStr x \u4e0a\u306e\u30b3\u30fc\u30c9\u306f\u4e0b\u3068\u540c\u5024\u3067\u3042\u308b\u3002 main = getContents >>= (\\x -> putStr x) \u3053\u3053\u3067\u3001>>=\u306f\u3044\u308f\u3086\u308bbind\u6f14\u7b97\u3067\u3042\u308b\u3002 (\\x -> putStr x)\u306fputStr\u305d\u306e\u3082\u306e\u306a\u306e\u3067\u3001\u3088\u308a\u7c21\u6f54\u306a\u5f62\u306b\u76f4\u3059\u3053\u3068\u3067\u6700\u521d\u306e\u30b3\u30fc\u30c9\u306b\u306a\u308b\u3002 \u5b9f\u884c\u7d50\u679c\u3002 $ runghc c\u2026","author_url":"https://blog.hatena.ne.jp/inaz2/","author_name":"inaz2","url":"https://inaz2.hatenablog.com/entry/2015/01/10/195425","type":"rich","width":"100%","image_url":null,"blog_title":"\u3082\u3082\u3044\u308d\u30c6\u30af\u30ce\u30ed\u30b8\u30fc","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finaz2.hatenablog.com%2Fentry%2F2015%2F01%2F10%2F195425\" title=\" cat\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u88c5\u3057\u3066\u307f\u308b - \u3082\u3082\u3044\u308d\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2015-01-10 19:54:25","categories":["Haskell"],"blog_url":"https://inaz2.hatenablog.com/","title":" cat\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u88c5\u3057\u3066\u307f\u308b","provider_name":"Hatena Blog"}