[plt-scheme] Re: An servlet exception difficult to comprehend
Yes. Structs are roughly generative, so if the module isn't shared
they aren't compatible.
Jay
On Tue, Dec 1, 2009 at 1:23 PM, ccwu <ccwu660601 at gmail.com> wrote:
> I've solved the problem using dispatch/servlet's keyword #:namespace.
>
> On 12月2日, 上午2時59分, ccwu <ccwu660... at gmail.com> wrote:
>> Hi,
>>
>> While refactoring my web server application I encountered the
>> following error message:
>>
>> play.ss:90:111: Servlet (@ /play) exception:
>> statement-name: expects args of type <struct:statement>; given
>> instance of a different <struct:statement>
>>
>> The 'statement' is defined as a serializable struct:
>>
>> (define-serializable-struct statement (name type description))
>>
>> What does the above error message want to say?
>> _________________________________________________
>> For list-related administrative tasks:
>> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://teammccarthy.org/jay
"The glory of God is Intelligence" - D&C 93