{"height":"190","blog_title":"xuwei-k's blog","categories":["scala","dotty"],"url":"https://xuwei-k.hatenablog.com/entry/2021/02/21/153451","provider_name":"Hatena Blog","title":"Scala 3\u306eMatch Types\u3092\u4f7f\u3063\u3066\u578b\u30ec\u30d9\u30ebsort","type":"rich","blog_url":"https://xuwei-k.hatenablog.com/","width":"100%","published":"2021-02-21 15:34:51","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxuwei-k.hatenablog.com%2Fentry%2F2021%2F02%2F21%2F153451\" title=\"Scala 3\u306eMatch Types\u3092\u4f7f\u3063\u3066\u578b\u30ec\u30d9\u30ebsort - xuwei-k&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"description":"\u4eca\u307e\u3067\u306eScala 2\u3060\u3068Aux Pattern\u3084implicit\u8272\u3005\u4f7f\u3063\u3066\u66f8\u304f\u3088\u3046\u306a\u3084\u3064\u304c\u30013\u3060\u3068\u3053\u3046\u3084\u3063\u3066\u66f8\u3051\u308b\u3088\u3001\u3068\u3044\u3046\u8a71\u3002 https://gist.github.com/xuwei-k/924c69482c972d7bac496922ed725f79 \u3067\u3082\u3053\u308c\u3060\u3068\u3001\u578b\u306f\u751f\u6210\u51fa\u6765\u3066\u3082\u3001valueOf\u306a\u3069\u3067\u5b9f\u969b\u306e\u5024\u304c\u751f\u6210\u3067\u304d\u306a\u3044\u3093\u3060\u3051\u3069\u3001\u3069\u3046\u3059\u308c\u3070\u3044\u3044\u306e\u304b\u5c11\u3057\u60a9\u3093\u3060\u3051\u3069\u3088\u304f\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u4e00\u65e6\u8ae6\u3081\u305f\u30fb\u30fb\u30fb\u3002 \u3042\u3068\u3001Tuple\u3092HList\u7684\u306b\u4f7f\u304a\u3046\u3068\u3057\u305f\u3051\u3069\u3001 (1, 2, 3) \u304c (Int, Int, Int) \u306b\u306a\u3063\u3066\u3057\u307e\u3063\u3066\u3001\u3044\u3044\u611f\u3058\u306b\u6271\u3048\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u308f\u3056\u308f\u3056HList\u3092\u81ea\u4f5c\u2026","author_url":"https://blog.hatena.ne.jp/xuwei/","version":"1.0","author_name":"xuwei"}