{"url":"https://sirocco.hatenadiary.org/entry/20101127/1290808632","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20101127%2F1290808632\" title=\"\u5b58\u5728\u3059\u308b\u65e5\u4ed8\u304b\u3069\u3046\u304b\u30c1\u30a7\u30c3\u30af\u3059\u308b(Haskell)\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>","width":"100%","provider_name":"Hatena Blog","description":"fromGregorian \u95a2\u6570\u306f Day \u578b\u3092\u4f5c\u308b\u3002\u5b58\u5728\u3057\u306a\u3044\u65e5\u4ed8\u304c\u6307\u5b9a\u3055\u308c\u308b\u3068\u4e00\u756a\u8fd1\u3044\u5b58\u5728\u3059\u308b\u65e5\u4ed8\u306e Day \u3092\u8fd4\u3059\u3002 Day \u578b\u306b\u5909\u63db\u3057\u3066\u304b\u3089\u3001Gregorian \u306b\u623b\u3057\u3066\u6bd4\u8f03\u3057\u3066\u540c\u3058\u65e5\u4ed8\u306a\u3089\u3070\u5b58\u5728\u3059\u308b\u65e5\u4ed8\u3002 import Data.Time.Calendar import Test.HUnit isExistingDate :: Integer -> Int -> Int -> Bool isExistingDate year month day = (year, month, day) == (toGregorian $ fromGregorian year month day) -\u2026","title":"\u5b58\u5728\u3059\u308b\u65e5\u4ed8\u304b\u3069\u3046\u304b\u30c1\u30a7\u30c3\u30af\u3059\u308b(Haskell)\u3002","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","height":"190","version":"1.0","author_url":"https://blog.hatena.ne.jp/sirocco/","categories":["Haskell"],"provider_url":"https://hatena.blog","blog_url":"https://sirocco.hatenadiary.org/","image_url":null,"type":"rich","published":"2010-11-27 06:57:12","author_name":"sirocco"}