{"image_url":null,"width":"100%","version":"1.0","type":"rich","blog_url":"https://www.little-cuckoo.jp/","categories":["Haskell","programming"],"url":"https://www.little-cuckoo.jp/entry/20060212/1139718764","author_url":"https://blog.hatena.ne.jp/wata_d/","author_name":"wata_d","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.little-cuckoo.jp%2Fentry%2F20060212%2F1139718764\" title=\"\u4eca\u65e5\u306e\u65e5\u4ed8\u3092\u53d6\u5f97 - \u9591\u53e4\u9ce5\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2006-02-12 13:32:44","provider_url":"https://hatena.blog","blog_title":"\u9591\u53e4\u9ce5","height":"190","provider_name":"Hatena Blog","title":"\u4eca\u65e5\u306e\u65e5\u4ed8\u3092\u53d6\u5f97","description":"\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306e Time \u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u7528\u3059\u308b\u3068\u65e5\u6642\u306e\u64cd\u4f5c\u304c\u3067\u304d\u308b\u3002 module Main where import Time import Ix main = do c >= toCalendarTime) putStrLn $ show (ctYear c) ++ \"-\" ++ show ( (index(January, December) (ctMonth c)) + 1) ++ \"-\" ++ show (ctDay c) \u5b9f\u884c\u3059\u308b\u3068\u3001 2006-2-12 \u307f\u305f\u3044\u306a\u6587\u5b57\u5217\u304c\u51fa\u529b\u3055\u308c\u308b\u3002\u305f\u3063\u305f\u3053\u308c\u3060\u3051\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u306e\u306b\u3084\u305f\u3089\u6642\u9593\u304c\u304b\u304b\u3063\u3066\u3044\u307e\u3059\u3002\u2026\u2026\u3042\u3001\u304b\u3063\u3053\u3092 2 \u3064\u7d9a\u3051\u3066\u66f8\u304f\u3068\u306f\u2026"}