{"version":"1.0","image_url":null,"author_name":"taedium","categories":["F#"],"url":"https://taedium.hatenadiary.org/entry/20110217/p1","provider_url":"https://hatena.blog","title":" \u30b7\u30fc\u30b1\u30f3\u30b9\u3067\u5217\u6319\u3057\u3064\u3064\u6700\u5f8c\u306e\u8981\u7d20\u304b\u3069\u3046\u304b\u5224\u5b9a\u3059\u308b","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftaedium.hatenadiary.org%2Fentry%2F20110217%2Fp1\" title=\" \u30b7\u30fc\u30b1\u30f3\u30b9\u3067\u5217\u6319\u3057\u3064\u3064\u6700\u5f8c\u306e\u8981\u7d20\u304b\u3069\u3046\u304b\u5224\u5b9a\u3059\u308b - taedium\u306e\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>","width":"100%","blog_url":"https://taedium.hatenadiary.org/","blog_title":"taedium\u306e\u65e5\u8a18","height":"190","provider_name":"Hatena Blog","published":"2011-02-17 00:00:00","type":"rich","description":"\u30ea\u30b9\u30c8\u306e\u5834\u5408\u306f\u518d\u5e30\u95a2\u6570\u3068\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u30f3\u30b0\u3067\u3067\u304d\u308b\u3093\u3067\u3059\u304c\u3001\u30b7\u30fc\u30b1\u30f3\u30b9\u3060\u3068\u305d\u3046\u3082\u3044\u304b\u305a\u5197\u9577\u306b\u306a\u3063\u3061\u3083\u3046\u306a\u3041\u3068\u601d\u3063\u305f\u3002 \u30ea\u30b9\u30c8 [<Test>] let ``detect last element of list`` () = let rec loop = function | [] -> () | [x] -> printfn \"last %d\" x | h :: t -> printfn \"%d\" h ; loop t let list = [ 1 .. 5 ] loop list \u30b7\u30fc\u30b1\u30f3\u30b9 [<Test>] let ``detect last element of seq`` () = \u2026","author_url":"https://blog.hatena.ne.jp/taedium/"}