{"version":"1.0","provider_name":"Hatena Blog","blog_url":"https://sirocco.hatenadiary.org/","width":"100%","author_name":"sirocco","title":"Gauche \u3067\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1","url":"https://sirocco.hatenadiary.org/entry/20100424/1272112679","categories":["scheme"],"published":"2010-04-24 21:37:59","image_url":null,"type":"rich","provider_url":"https://hatena.blog","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20100424%2F1272112679\" title=\"Gauche \u3067\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1 - sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"11.47 util.match - \u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u30f3\u30b0 Haskell \u3067\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u5206\u5c90\u3059\u308b\u3068\u4ed6\u306e\u8a00\u8a9e\u3067\u3082\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u3057\u305f\u304f\u306a\u308b\u3002 (use util.match) (define (match-test ls) (match ls (((a b) c (d e)) (list \"a:\" a b c d e)) (((a b)) (list \"b:\" a b)) (((a b) c) (list \"c:\" (list a b) c)) (else (list \"else\") ))) (print (match-test '((1 2) 3 (4 5)))) ;=> (a: 1 2 3 \u2026","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","author_url":"https://blog.hatena.ne.jp/sirocco/"}