@leifwickland You can always use a partial function directly, rather than cluttering things with the match. Equivalent, and more concise.
まぁ細かいどうでもいい事といえばどうでもいい事なんですが、明らかにPartialFunctionを直で書いたほうが短く書けるので、そうしたほうがいいと思います。これ見ちゃうと、「あぁまだScala初心者なのかなぁ」とか思ってしまいます。個人的には結構気になります。例えば以下のような・・・
$ grep "_ match" . ./framework/src/play/src/main/scala/play/core/system/ApplicationProvider.scala:235: lazy val findSideBar: (Option[Path] => Option[Path]) = _ match { ./framework/src/sbt-plugin/src/main/scala/jscompile/JavascriptCompiler.scala:38: simpleCompilerOptions.foreach(_ match { ./framework/src/sbt-plugin/src/main/scala/PlayReloader.scala:157: val link:(String => (String, String)) = _ match { ./samples/scala/helloworld/test/FormSpec.scala:81: form.value must beSome.which { _ match {
https://github.com/playframework/Play20/blob/2.1.1/framework/src/play/src/main/scala/play/core/system/ApplicationProvider.scala#L235
https://github.com/playframework/Play20/blob/2.1.1/framework/src/sbt-plugin/src/main/scala/jscompile/JavascriptCompiler.scala#L38
https://github.com/playframework/Play20/blob/2.1.1/framework/src/sbt-plugin/src/main/scala/PlayReloader.scala#L157
https://github.com/playframework/Play20/blob/2.1.1/samples/scala/helloworld/test/FormSpec.scala#L81
ところで、47って、そんなにクイズ出してたんですか・・・?