{"categories":["Haskell","\u3059\u3054\u3044Haskell\u305f\u306e\u3057\u304f\u5b66\u307c\u3046"],"width":"100%","blog_url":"https://ugnom.hatenablog.com/","title":"\u3059\u3054\u3044Haskell\u305f\u306e\u3057\u304f\u5b66\u307c\u3046\u3000\u7b2c\uff14\u7ae0\u3000\u518d\u5e30\u306e\u7df4\u7fd2 \u305d\u306e\uff12","author_url":"https://blog.hatena.ne.jp/ugnom/","published":"2014-01-02 09:14:33","version":"1.0","url":"https://ugnom.hatenablog.com/entry/2014/01/02/091433","height":"190","image_url":null,"description":"\u7b2c\uff14\u7ae0\u306e\u7d9a\u304d\u3002 \u524d\u306e\uff1a http://ugnom.hatenablog.com/entry/2013/12/30/131136 \u518d\u5e30\u306e\u7df4\u7fd2\u3067\u3059\u3002take\u3042\u308b\u914d\u5217\u306e\u6700\u521d\u306e\u7b2c\u4e00\u5f15\u6570\u306e\u6570\u3060\u3051\u53d6\u308a\u51fa\u3059\u3002 \u3064\u3044\u3067\u306b\u3001\u6700\u5f8c\u304b\u3089\u6307\u5b9a\u6570\u3060\u3051\u53d6\u308b\u306e\u3082\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f\u3002 take' :: Int -> [a] -> [a] take' n (x:xs) | n <= 0 = [] | otherwise = x : take' (n-1) xs takeLast :: Int -> [a] -> [a] takeLast _ [] = [] takeLast n l@(x:xs) | n >= length l =\u2026","blog_title":"\u3080\u305a\u304b\u3057\u3081\u306e\u30d1\u30bd\u30b3\u30f3\u52c9\u5f37\u306e\u8a18\u9332","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fugnom.hatenablog.com%2Fentry%2F2014%2F01%2F02%2F091433\" title=\"\u3059\u3054\u3044Haskell\u305f\u306e\u3057\u304f\u5b66\u307c\u3046\u3000\u7b2c\uff14\u7ae0\u3000\u518d\u5e30\u306e\u7df4\u7fd2 \u305d\u306e\uff12 - \u3080\u305a\u304b\u3057\u3081\u306e\u30d1\u30bd\u30b3\u30f3\u52c9\u5f37\u306e\u8a18\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","author_name":"ugnom","type":"rich","provider_url":"https://hatena.blog"}