{"height":"190","width":"100%","author_url":"https://blog.hatena.ne.jp/wvogel00/","published":"2011-09-20 15:21:04","url":"https://wvogel00.hatenadiary.org/entry/20110920/1316499664","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwvogel00.hatenadiary.org%2Fentry%2F20110920%2F1316499664\" title=\"Monte Carlo - wvogel\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>","image_url":null,"description":"(?) :: (Ord a,Num a) => (a,a) -> Bool (?) (x,y) = 1 > x^2 + y^2 pi' :: Fractional a => a pi' = 4.0*fromIntegral (length $ filter (?) dots) / fromIntegral (length dots) dots :: (Enum a,Fractional a) => [(a,a)] dots = [(x,y) | x <- [0.01,0.02..1.0] , y <- [0.01,0.02..1.0]] Monte Carlo\u6cd5\u3067\u5186\u5468\u7387\u3092\u8a08\u7b97\u3002 \u305f\u3060\u3001\u6841\u843d\u3061\u304c\u2026","title":"Monte Carlo","type":"rich","categories":["Haskell"],"provider_name":"Hatena Blog","version":"1.0","author_name":"wvogel00","provider_url":"https://hatena.blog","blog_url":"https://wvogel00.hatenadiary.org/","blog_title":"wvogel\u65e5\u8a18"}