Suppose, there is a reset block with a single shift: val r = reset { // do smth. 1 shift {...} // do smth. 2
I think I understand (in general) what 开发者_开发百科shift and reset mean. However I do not understand why they are named so ? What do shift and reset as Delimited Continuation primitives have to do
using the CPS compiler-p开发者_运维知识库lugin of Scala 2.8, there are the two magic controls reset and shift. Reset delimits the continuation and shift captures the continuation.
I have sql dataSource which i have binded with gridview. where i have column name Rate where i am using ajax rating through that i am updating value in to data base and i also want to show that value