サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
夏の料理
blog.bruchez.name
I don’t know about you, but I knew about implicit parameter lists, implicit resolution, and even type bounds. But this funny <:< “sad-with-a-hat” 1 operator 2 was entirely new to me! Smart people 3 have written about it years ago, but it’s clear that we are talking about a feature which is not well-known and poorly documented, even though it is available since Scala 2.8. So this article is about f
The first time I saw this kind of things I was a bit puzzled: in which situations could case be used without match? Well, it turns out 1 that a block with a bunch of case inside is one way of defining an anonymous function. There is nothing new with anonymous functions of course, and Scala has a very compact notation for those that doesn’t involve case. But this particular way of defining anonymou
このページを最初にブックマークしてみませんか?
『blog.bruchez.name』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く