{"blog_url":"https://ha-tan.hatenadiary.org/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fha-tan.hatenadiary.org%2Fentry%2F20061027%2F1161961253\" title=\" Haskell\u3067\u633f\u5165\u30bd\u30fc\u30c8 - \u8da3\u5473\u7684\u306b\u3063\u304d\" 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":"ha-tan","width":"100%","provider_name":"Hatena Blog","published":"2006-10-27 00:00:53","image_url":null,"title":" Haskell\u3067\u633f\u5165\u30bd\u30fc\u30c8","description":"\u3092\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002\u304c\u3001\u666e\u901a\u306e\u3088\u304f\u3042\u308bC\u8a00\u8a9e\u306e\u5b9f\u88c5\u4f8b\u3068\u306f\u9055\u3063\u3066\u5916\u90e8\u306b\u30ea\u30b9\u30c8\u3092\u6301\u305f\u305b\u3066\u307e\u3059\u3002\u3053\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3060\u3068\u5165\u529b\u306e\u30ea\u30b9\u30c8\u304c\u3059\u3067\u306b\u6607\u9806\u306b\u4e26\u3093\u3067\u3044\u308b\u3068\u9ad8\u901f\u306b\u52d5\u4f5c\u3057\u307e\u3059\u3002 module Main (main) where insertsort :: [Int] -> [Int] insertsort = foldr insert [] where insert x xs = let (xs1, xs2) = span (x >) xs in xs1 ++ x : xs2 main :: IO () main = print $ insertsort [8, 4, 3, 7, 6, 5, 2, 1] \u2026","url":"https://ha-tan.hatenadiary.org/entry/20061027/1161961253","height":"190","categories":["Haskell"],"version":"1.0","provider_url":"https://hatena.blog","blog_title":"\u8da3\u5473\u7684\u306b\u3063\u304d","type":"rich","author_url":"https://blog.hatena.ne.jp/ha-tan/"}