-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scala CPS plugin #38
Comments
Is this part of a Scalatra (the web framework) app, or just general Scala (the language)? Anyway, please have a look at http://stackoverflow.com/questions/4556540/continuations-in-scala-2-8-1-and-eclipse. |
Thank you sir,Now i got the point. |
we are planning to use continuation support in the scala language through shift and reset to track the users who are logged in(We are trying to use this instead of using session or cookie to track the users logged in). So please provide us any sample programe to implement the continuation support through shift and reset to track the logged users in scala. |
It's an interesting idea, but as far as I know nobody has done anything like that with Scalatra. You're welcome to ask on the mailing list to see if anyone else has any experience with this approach. |
Can you provide us any sample program to implement the continuation support in the scala language through session or cookie to track the users logged in. |
Could you provide some materials based on shift and reset concept...... |
the scala mailing list is the right place to go with these questions. |
import com.ControlContext._
object Example {
def main(args: Array[String]){
reset {
println(1)
shift
{
(cont: Unit => Unit) =>
cont()
cont()
}}}}
This is my code for shift and reset concept. Am compiled in eclipse, Its says "this code has to be compiled with the Scala CPS plugin". How can i debug this error. please save me.
The text was updated successfully, but these errors were encountered: