{"width":"100%","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","published":"2010-06-27 00:00:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20100627%2Fnegateary\" title=\"-3\u9032\u6570\u3078\u306e\u5909\u63db - \u307f\u305a\u3074\u30fc\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","title":"-3\u9032\u6570\u3078\u306e\u5909\u63db","description":"30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0\u3001\u305d\u306e776\u3002anarchy golf - Negatenary\u306b\u30a4\u30f3\u30b9\u30d1\u30a4\u30a2\u3055\u308c\u3066\u3001-3\u9032\u6570\u3078\u306e\u5909\u63db\u3092\u3084\u3063\u3066\u307f\u307e\u3057\u305f\u3002 \u57fa\u6570\u304c\u8ca0\u306e\u5909\u63db\u306f\u3084\u3063\u305f\u3053\u3068\u304c\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u308f\u308a\u3068\u82e6\u6226\u3057\u307e\u3057\u305f\u3002\u5404\u6841\u304c\u5fc5\u305a\u6b63\u306e\u6570\u306b\u306a\u308b\u3088\u3046\u306b\u3059\u308b\u306e\u304c\u3080\u305a\u3044! \u4f7f\u3044\u65b9 *Main> negatenary (-60) \"2020\" \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 negatenary :: Integral a => a -> String negQuotRem x y = let (q,r) = x `quotRem` y in if r < 0 then (q+1, r-y) else (q,r) negatenary 0 \u2026","author_url":"https://blog.hatena.ne.jp/mzp/","image_url":null,"blog_url":"https://mzp.hatenadiary.org/","author_name":"mzp","url":"https://mzp.hatenadiary.org/entry/20100627/negateary","height":"190","blog_title":"\u307f\u305a\u3074\u30fc\u65e5\u8a18","categories":["Haskell","30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0"],"version":"1.0"}