{"categories":["Haskell"],"blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20090430%2F1241055083\" title=\"\u6570\u5b57\u307e\u305f\u306f\u6587\u5b57\u5217\u3092\u8fd4\u3059\u3002 - 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>","type":"rich","description":"\u6761\u4ef6\u306b\u3088\u3063\u3066\u6570\u5b57\u3092\u8fd4\u3057\u305f\u308a\u3001\u6587\u5b57\u5217\u3092\u8fd4\u3057\u305f\u308a\u3059\u308b if \u6587\u3002(Ruby \u306e\u4f8b) $ irb irb(main):004:0> cnd=true => true irb(main):005:0> if cnd then 1 else \"NG\" end => 1 irb(main):006:0> cnd=false => false irb(main):007:0> if cnd then 1 else \"NG\" end => \"NG\"Haskell \u306f\u578b\u306b\u3046\u308b\u3055\u3044\u306e\u3067\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3002 Prelude> if True then 100 else \"String\" <interactive>:1:1\u2026","provider_url":"https://hatena.blog","author_name":"sirocco","author_url":"https://blog.hatena.ne.jp/sirocco/","width":"100%","height":"190","title":"\u6570\u5b57\u307e\u305f\u306f\u6587\u5b57\u5217\u3092\u8fd4\u3059\u3002","provider_name":"Hatena Blog","version":"1.0","url":"https://sirocco.hatenadiary.org/entry/20090430/1241055083","published":"2009-04-30 10:31:23","blog_url":"https://sirocco.hatenadiary.org/","image_url":null}