{"author_name":"bleis-tift","height":"190","url":"https://bleis-tift.hatenablog.com/entry/20100401/1270050127","type":"rich","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbleis-tift.hatenablog.com%2Fentry%2F20100401%2F1270050127\" title=\"Scala \u306e match \u3068 XML \u30ea\u30c6\u30e9\u30eb\u3092\u307e\u306d\u308b - \u3050\u308b\u3050\u308b\uff5e\" 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%","provider_url":"https://hatena.blog","blog_title":"\u3050\u308b\u3050\u308b\uff5e","description":"Scala \u3067\u306f\u6b21\u306e\u3088\u3046\u306a\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002 def proc(node: Node) { node match { case <hoge>{value}</hoge> => println(value) } } proc(<hoge>100</hoge>) // => 100 \u3053\u308c\u3092 C# \u3067\u771f\u4f3c\u3066\u307f\u307e\u3057\u305f\u3002 Scala \u3067\u306f\u5165\u308c\u5b50\u306a\u3069\u8272\u3005\u3068\u3067\u304d\u308b\u306e\u3067\u3059\u304c\u3001\u305d\u3053\u307e\u3067\u306f\u5bfe\u5fdc\u3067\u304d\u3066\u3044\u307e\u305b\u3093\u3002 \u4f7f\u3046\u5074\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3002 static class Program { static Node Node(string name) { return new Node(name); } static void\u2026","title":"Scala \u306e match \u3068 XML \u30ea\u30c6\u30e9\u30eb\u3092\u307e\u306d\u308b","provider_name":"Hatena Blog","version":"1.0","categories":["C#"],"blog_url":"https://bleis-tift.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/bleis-tift/","published":"2010-04-01 00:42:07"}