{"description":"30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0\u3001\u305d\u306e343\u3002\u6628\u65e5\u306b\u5f15\u304d\u7d9a\u304d\u3001http://www.haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html\u306e\u95a2\u6570\u3092Ocaml\u306b\u79fb\u690d\u3002OCaml\u3063\u3066take\u3082\u306a\u3044\u3093\u3060\u305c\u30fb\u30fb\u3002 \u4f7f\u3044\u65b9 # take 3 [1;2;3;4;5];; - : int list = [1; 2; 3] # drop 3 [1;2;3;4;5];; - : int list = [4; 5] \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 let maximum xs = fold_left1 max xs let minimum xs = fold_left1 min x\u2026","categories":["Ocaml","30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0"],"author_name":"mzp","type":"rich","blog_url":"https://mzp.hatenadiary.org/","published":"2008-08-05 00:00:00","url":"https://mzp.hatenadiary.org/entry/20080805/haskell","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20080805%2Fhaskell\" title=\"Haskell\u306e\u30ea\u30b9\u30c8\u64cd\u4f5c\u3092OCaml\u306b\u79fb\u690d(2) - \u307f\u305a\u3074\u30fc\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>","author_url":"https://blog.hatena.ne.jp/mzp/","title":"Haskell\u306e\u30ea\u30b9\u30c8\u64cd\u4f5c\u3092OCaml\u306b\u79fb\u690d(2)","version":"1.0","height":"190","blog_title":"\u307f\u305a\u3074\u30fc\u65e5\u8a18","width":"100%"}