サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
Wikipedia
jim-mcbeath.blogspot.com
An implementation of coroutines on top of Scala's delimited continuations. In my previous post I said that delimited continuations could be used to create interesting control constructs. In this post I give examples of one such construct: coroutines. I describe the implementation of a library to make it easier to write coroutines, and I give an example that is built on that library. If you want to
Scala's delimited continuations, introduced in version 2.8, can be used to implement all sorts of interesting control constructs. This is a very long blog post. It took me quite a while to get my head around Scala's reset and shift operators. To help others hopefully avoid the stumbling blocks I encountered, I have tried here to start with the basics and build up from there in some detail. If you
Scala runs on the JVM and can directly call and be called from Java, but source compatibility was not a goal. Scala has a lot of capabilities not in Java, and to help those new features work more nicely, there are a number of differences between Java and Scala syntax that can make reading Scala code a bit of a challenge for Java programmers when first encountering Scala. This primer attempts to ex
このページを最初にブックマークしてみませんか?
『jim-mcbeath.blogspot.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く