{"provider_name":"Hatena Blog","published":"2008-01-29 00:00:02","author_url":"https://blog.hatena.ne.jp/hogelog/","title":" \u300c\u3075\u3064\u3046\u306eHaskell\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u300d\u8aad\u307f\u307e\u3059(4)","url":"https://hogelog.hatenablog.com/entry/20080129/p3","height":"190","blog_title":"hogelog\u306e\u65e5\u8a18","author_name":"hogelog","provider_url":"https://hatena.blog","description":"5\u7ae0\u3001\u306f\u307b\u3068\u3093\u3069\u8aad\u3080\u3068\u3053\u308d\u3060\u306a\u3002 if.hs myIf True t e = t myIf False t e = e main = do myIf True (putStrLn \"then\") (putStrLn \"else\") % ghc if.hs -o if % ./if then\u9045\u5ef6\u8a55\u4fa1\u306a\u306e\u3067then-part\u306e\u3057\u304b\u5b9f\u884c\u3055\u308c\u3066\u307e\u305b\u3093\u306d\u30fc\u3001\u3068\u3044\u3046\u3002\u6700\u5916\u7c21\u7d04\u3063\u3066\u8a00\u8449\u306f\u3068\u3066\u3082\u308f\u304b\u308a\u3084\u3059\u304b\u3063\u305f\u3051\u3069\u3001\u53c2\u7167\u900f\u660e\u6027\u3063\u3066\u306e\u306f\u3088\u304f\u308f\u304b\u3089\u3093\u306a\u3002\u53c2\u7167\u306f\u3068\u3082\u304b\u304f\u3001\u900f\u660e\u3066\u3002 \u900f\u660e\u6027\u3001\u900f\u660e\u6027\u3002\u900f\u660e\u6027\u3063\u3066\u5143\u3005transparency\u306e\u8a33\u8a9e\u3058\u3083\u306d\uff1f \u77e5\u3089\u306a\u3044\u3051\u3069\u3055\u3002\u305f\u3076\u3093\u4ffa\u304c\u5143\u3005\u900f\u660e\u6027\u3063\u3066\u8a00\u8449\u306b\u9055\u548c\u611f\u3042\u308a\u307e\u304f\u308a\u306a\u3060\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhogelog.hatenablog.com%2Fentry%2F20080129%2Fp3\" title=\" \u300c\u3075\u3064\u3046\u306eHaskell\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u300d\u8aad\u307f\u307e\u3059(4) - hogelog\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","version":"1.0","blog_url":"https://hogelog.hatenablog.com/","image_url":null,"categories":["haskell"],"width":"100%"}