{"image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftokuchan3515.hatenablog.com%2Fentry%2F2022%2F03%2F25%2F161009\" title=\"Haskell\u306b\u304a\u3051\u308b`%` - \u5099\u5fd8\u9332\u3084\u3081\u305f\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"tokuchan3515","provider_url":"https://hatena.blog","title":"Haskell\u306b\u304a\u3051\u308b`%`","blog_title":"\u5099\u5fd8\u9332\u3084\u3081\u305f","width":"100%","type":"rich","url":"https://tokuchan3515.hatenablog.com/entry/2022/03/25/161009","version":"1.0","height":"190","provider_name":"Hatena Blog","categories":["Haskell"],"description":"C\u3068\u304bRust\u306b\u304a\u3044\u3066%\u306f\u5270\u4f59\u3092\u610f\u5473\u3059\u308b\u304c\uff0cHaskell\u3067\u306f\u5270\u4f59\u3092\u6c42\u3081\u308b\u306e\u306bmod\u95a2\u6570\u3092\u4f7f\u3046\uff0e \u3067\uff0cHaskell\u3067\u306f%\u306f\u4f7f\u308f\u308c\u306a\u3044\u304b\u3068\u8a00\u308f\u308c\u308b\u3068\u305d\u3046\u3067\u306f\u306a\u304f\uff0c\u3053\u308c\u306f\u5206\u6570\u3092\u69cb\u6210\u3059\u308b\u95a2\u6570\u3068\u306a\u3063\u3066\u3044\u308b\uff0e\u3053\u306e\u95a2\u6570\u306fbase 4.16.1.0\u306e\u6642\u70b9\u3067Data.Ratio\u306b\u542b\u307e\u308c\u3066\u3044\u308b\uff0e\u3053\u306e\u95a2\u6570\u306fRatio a\u578b\u306e\u5024\u3092\u8fd4\u3059\uff0e\u3053\u306e\u578b\u306f\u6570\u5024\u6f14\u7b97\u306b\u95a2\u3059\u308b\u57fa\u672c\u7684\u306a\u578b\u30af\u30e9\u30b9\u3092\u5b9f\u88c5\u3057\u3066\u3044\u308b\uff0e module Main ( main ) where import Data.Ratio main :: IO () main = do print $ 10 % 3 print $ (10 % 3) + (33 % 4) \u2026","published":"2022-03-25 16:10:09","author_url":"https://blog.hatena.ne.jp/tokuchan3515/","blog_url":"https://tokuchan3515.hatenablog.com/"}