Re: [racket] send/suspend outside #lang web-server

2011-09-05 Thread Jay McCarthy
You can't use the stateful and stateless send/suspends in the same program. I think that's the problem with just switching the require in the second file. Jay On Mon, Sep 5, 2011 at 8:16 AM, Veer wrote: > Thanks for reply. > > So stateless send/suspend will not work unless language is web-server

Re: [racket] send/suspend outside #lang web-server

2011-09-05 Thread Veer
Thanks for reply. So stateless send/suspend will not work unless language is web-server , fine but when I use statefull send/suspend (in "something.rkt") , it still does not work as expected. So what changes should I make so that get-something function returns 'something. Thanks. On Mon, Sep 5

Re: [racket] send/suspend outside #lang web-server

2011-09-05 Thread Jay McCarthy
There are two send/suspend functions in the Web server collection. The one from web-server/lang/web is the stateless one. This relies on the program transformation that #lang web-server implements, so it must be used inside modules that use that language. The one from web-server/servlet/web is th