{"provider_name":"Hatena Blog","published":"2013-06-02 00:13:59","author_name":"yuheiomori0718","blog_title":"\u30e1\u30e2\u7f6e\u304d\u5834","url":"https://y0m0r.hateblo.jp/entry/20130602/1370186039","blog_url":"https://y0m0r.hateblo.jp/","categories":["ocaml","memo"],"author_url":"https://blog.hatena.ne.jp/yuheiomori0718/","width":"100%","type":"rich","image_url":null,"provider_url":"https://hatena.blog","title":"ocaml\u3067\u6587\u5b57\u5217\u30921\u6587\u5b57\u305a\u3064\u306e\u30ea\u30b9\u30c8\u306b\u3059\u308b","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20130602%2F1370186039\" title=\"ocaml\u3067\u6587\u5b57\u5217\u30921\u6587\u5b57\u305a\u3064\u306e\u30ea\u30b9\u30c8\u306b\u3059\u308b - \u30e1\u30e2\u7f6e\u304d\u5834\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u6628\u65e5\u3001python\u3068ruby\u306b\u3064\u3044\u3066\u66f8\u3044\u305f\u306e\u3067\u3001ocaml\u3067\u3069\u3046\u66f8\u304f\u304b\u8abf\u3079\u3066\u307f\u305f\u3002 \u3053\u3093\u306a\u611f\u3058\u304b (* \u6587\u5b57\u5217\u30921\u6587\u5b57\u305a\u3064\u5206\u5272\u3057\u3066string list\u306b\u3057\u3066\u8fd4\u3059*) (* split_string : string -> string list *) let split_string s = Str.split (Str.regexp \"\") s;; (* test *) let test1 = split_string \"\" = [] let test2 = split_string \"a\" = [\"a\"] let test3 = split_string \"abcdefghijklmno\u2026","version":"1.0"}